Anyway long story short, I'm playing with a few simple functions and i'm trying to make something that the will change the "onmouseover" and "onmouseout" events of (in this case) an image. Now primarily i presumed it would be the same as changing the source of an image, e.g.
img.src="image.jpg";
However it didn't seem to work.. and after a little investigation on the interweb, it appears the format for changing events of an object is slightly different... from what i gather you have to use 'attachevent'... now i've tried this, but i can't seem to get it to work, so help on this would be apreciated...
Now this brings me nicely on to my second point. Is there a good javascript resource out there, listing all the functions that can be used.. with examples, etc. Something like the one for php; http://php.net/
Thanks in advance
Edited by Bob, 23 November 2007 - 21:46.