Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 21 of 21
Search took 0.06 seconds.
Search: Posts Made By: Dimitar
Forum: JavaScript programming 12-08-2009, 03:06 AM
Replies: 6
Views: 784
Posted By Dimitar
no, i agree - as i said, he's using DOM 0 to...

no, i agree - as i said, he's using DOM 0 to select the element and i am saying - for longevity of code's sake and as a old practice - probably he should not, that's all.
Forum: JavaScript programming 12-08-2009, 02:11 AM
Replies: 6
Views: 784
Posted By Dimitar
what is document.myLingo.word.value ?? you really...

what is document.myLingo.word.value ?? you really should not access elements through DOM 0, chances are this is failing as its not an object (name="word" ?) for the assignment.

anyway, can't...
Forum: JavaScript programming 12-08-2009, 01:32 AM
Replies: 6
Views: 784
Posted By Dimitar
you would. myfunction is defined as lowercase...

you would. myfunction is defined as lowercase whereas the onclick has it as myFunction();

javascript IS case sensitive (as you will find, are most languages)
Forum: JavaScript frameworks 10-03-2009, 11:39 AM
Replies: 1
Views: 776
Posted By Dimitar
this script has a window.onload = function which...

this script has a window.onload = function which is likely to **** any jquery $(document).ready etc functionality defined previously. it's also not using jquery at all so its not the best choice here...
Forum: JavaScript programming 09-16-2009, 12:16 PM
Replies: 2
Views: 575
Posted By Dimitar
get firefox and web developer toolbar plugin. go...

get firefox and web developer toolbar plugin. go view source -> view generated source and save.

http://chrispederick.com/work/web-developer/
Forum: JavaScript frameworks 09-08-2009, 07:28 PM
Replies: 4
Views: 4,238
Posted By Dimitar
this is a common misconception - perhaps rooted...

this is a common misconception - perhaps rooted in that document.getElementById("blah") as per ecma specs needs to return object or false.

$("elementid") does same in mootools or prototype.
...
Forum: JavaScript programming 09-01-2009, 12:10 PM
Replies: 20
Views: 1,773
Posted By Dimitar
sigh. you can copy to clipboard from any...

sigh.

you can copy to clipboard from any browser just fine... only not how's been posted thus far.

due to security implications, javascript's access to the clipboard object has been revoked....
Forum: JavaScript frameworks 08-29-2009, 06:00 PM
Replies: 4
Views: 1,797
Posted By Dimitar
for your requirements, you can get a small...

for your requirements, you can get a small install of a framework like mootools or jquery with the right plugin, it's not hard to do at all

i just wrote this from scratch in 35 mins with...
Forum: JavaScript frameworks 08-29-2009, 03:20 PM
Replies: 4
Views: 1,797
Posted By Dimitar
erm, first off - what do you expect from such an...

erm, first off - what do you expect from such an old script.

the IE problem is something else though--it's a problem when you write into innerHTML for IE like so as it messes up it's snapshot of...
Forum: Ajax and Design 08-29-2009, 02:53 PM
Replies: 1
Views: 938
Posted By Dimitar
erm. return is event driven as the request is...

erm. return is event driven as the request is asynchronous by default.

what this means for your code is:

xmlhttp.onreadystatechange=stateChanged; -> this will set a thread / code block to run...
Forum: Ajax and Design 08-29-2009, 12:16 AM
Replies: 3
Views: 5,549
Posted By Dimitar
no no no! :D this looks like mootools 1.11... ...

no no no! :D this looks like mootools 1.11...

first off, in mootools you should use .delay() or .periodical and not setTimeout and setInterval (wrappers that are chained and without string eval...
Forum: JavaScript frameworks 08-28-2009, 11:55 PM
Replies: 1
Views: 5,164
Posted By Dimitar
the Fx class supports cancel: ...

the Fx class supports cancel:

http://mootools.net/docs/core/Fx/Fx#Fx:cancel

hence you can stop the instances of all morphs like:

contentHome.cancel();
contentAbout.cancel();
// etc.
Forum: JavaScript programming 08-28-2009, 11:37 PM
Replies: 20
Views: 1,773
Posted By Dimitar
you can copy to clipboard just fine in any...

you can copy to clipboard just fine in any browser... providing it has flash.

google for zeroClipboard - i just started writing a port for it for mootools framework a few days back here:...
Forum: JavaScript programming 08-28-2009, 10:34 PM
Replies: 5
Views: 1,228
Posted By Dimitar
function searchCats(text) { // Set...

function searchCats(text) {

// Set URL for ajax request
var url = '/'+text;

// Set up element we're modifying
var results = document.getElementById('cat_list');
...
Forum: JavaScript frameworks 08-28-2009, 10:24 PM
Replies: 6
Views: 1,029
Posted By Dimitar
mootools is the path to joy. classes,...

mootools is the path to joy. classes, inheritance, etc. don't fall for the old intermediate to advanced crap either - especially if you know actionscript and vanilla js (hence ECMA) and OOP, you'll...
Forum: JavaScript programming 08-28-2009, 09:56 PM
Replies: 5
Views: 1,228
Posted By Dimitar
myAJAX.onreadystatechange = function() { ...

myAJAX.onreadystatechange = function() {

// Was it a success?

if (myAJAX.readyState < 4) {
return false;
}


the return you do here is...
Forum: JavaScript frameworks 08-28-2009, 09:12 PM
Replies: 6
Views: 1,029
Posted By Dimitar
oh IIS... that's not ideal. apache can use...

oh IIS... that's not ideal. apache can use content type deflate filters which do the gzip on the fly but IIS... I am sure somebody figured it out. still, consider hosting on a CDN at least your js...
Forum: JavaScript frameworks 08-28-2009, 02:52 PM
Replies: 6
Views: 1,029
Posted By Dimitar
there's a new dependency checker which can look...

there's a new dependency checker which can look at what your script does and then list only relevant required components to be picked through the mootools.net downloader:

check...
Forum: JavaScript frameworks 08-28-2009, 02:43 PM
Replies: 3
Views: 1,395
Posted By Dimitar
it's not the canadian one for sure... :D i did...

it's not the canadian one for sure... :D i did set this up in a haste and late at night... anyway - what the author of the framework said with regards to browser and user support requirements being...
Forum: JavaScript frameworks 08-26-2009, 08:02 PM
Replies: 3
Views: 1,395
Posted By Dimitar
heh, it seems the beeb's been wasting our license...

heh, it seems the beeb's been wasting our license money on some pretty good stuff - i have seen some benchmarks where it outperforms both jquery and mootools... i still would not use it, though -...
Forum: JavaScript frameworks 08-26-2009, 07:57 PM
Replies: 4
Views: 3,227
Posted By Dimitar
you really need to be a bit more programatic...

you really need to be a bit more programatic about this. mouseenter is an event and as such, it is bound by event.target - by firing it on the parent and entering a child, you WILL fire a mouseleave....
Showing results 1 to 21 of 21

 
Forum Jump

All times are GMT +1. The time now is 04:36 PM.