Results 1 to 2 of 2

Thread: dom rollover script

  1. #1
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    23
    Thanked 0 Times in 0 Posts

    Default dom rollover script

    http://www.dynamicdrive.com/dynamicindex15/domroll.htm

    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??

  2. #2
    Join Date
    Jan 2008
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •