View Single Post
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
Less code:

Quote:
document.getElementByID('yourimageID').src='/media/image.jpg';
Or if you're using prototype/scriptaculous, even less:

Quote:
$('yourimageID').src='/media/image.jpg';

schweb This has to be one of the best threads ever in MF history...
Cherokee This gets my vote for most innovative thread on Mac-Forums... ever.
QUOTE Thanks