|
Prev: Why do this? <SCRIPT TYPE="text/javascript"
Next: FAQ Topic - Why does 1+1 equal 11? or How do I convert a string to a number? (2008-05-06)
From: maya on 5 May 2008 16:16 hi, I need help w/this gallery script from dhtmlgoodies http://www.dhtmlgoodies.com/scripts/image-slideshow-vertical/image-slideshow-vertical.html if I change name of "up" and "down" arrow-images (I need .jpg's, not ..gif's) the "up" and "down" links don't work anymore... yet I don't see these images referenced explicitly in the JS code.. (I do see 'gif' -- I changed that to 'jpg', but it still didn't work..) weird is this line: if(this.src.indexOf('over')<0)this.src = this.src.replace('.gif','-over.gif'); which works fine w/orig images (yet no "over" in name of my images, don't know where this is used..) I dont get parts of this JS code, for example this function-declaration: function initSlide(e) { yet in call to this function we don't pass anything, so what does "e" stand for?? thank you.. |