View Full Version : dom rollover script

01-15-2008, 11:38 AM

I used this script but my images are not in the main folder but in images folfer. The mouseover function does not find them unless they are in the main folder(i dont want them to be there)
so how do I change the source(path) in the js folder so I will see my mouseover images??

01-16-2008, 05:42 AM
The example the author of this script provides assumes all code and files are in same directory. You likely do not need to change this script. Assuming your images are in an “images” subfolder, and your webpage is in the main “home” directory, you would need to simply point to your rollover-image(s) gif/jpg as follows: /images/rollover-image.gif

Yet another example: class=”domroll /images/rollover-image.gif”

Hope this helps.