dancingeyes
04-20-2008, 02:37 PM
I stumbled upon a javascript rollover function which apparently originated from Dynamic Drive, and I am looking for help in modifying it to add another function. Since I don't know how to write script, I'd appreciate any tips/pointers.
The page in question is found at:
http://dancingeyes.com/betsy/gallery.html
As you'll see, when the mouse rolls over any given thumbnail, the corresponding enlargement appears to the right. What I'd like to be able to do is—upon mouse over—have the thumbnail itself also replaced by another thumbnail variation (i.e. another jpg, in its place), as well as the enlargement to the right. I know how to do this using Dreamweaver, but the problem (and this is crucial!) is that unless the thumbnails are completely adjacent (which is not my client's design preference), the enlargement image reverts back to the default image when the mouse crosses the gaps between the thumbnails, creating an annoying flash of the default enlargement image while transitioning to the next thumbnail. This script I found on another site doesn't have this flashing of the image, since the enlargement stays visible until another thumbnail is activated by the rollover. I like this feature, and just need to know how to modify the script to allow for another simultaneous rollover image to appear (in place of the thumbnail, as described above).
Can anyone help?
Thanks!
The page in question is found at:
http://dancingeyes.com/betsy/gallery.html
As you'll see, when the mouse rolls over any given thumbnail, the corresponding enlargement appears to the right. What I'd like to be able to do is—upon mouse over—have the thumbnail itself also replaced by another thumbnail variation (i.e. another jpg, in its place), as well as the enlargement to the right. I know how to do this using Dreamweaver, but the problem (and this is crucial!) is that unless the thumbnails are completely adjacent (which is not my client's design preference), the enlargement image reverts back to the default image when the mouse crosses the gaps between the thumbnails, creating an annoying flash of the default enlargement image while transitioning to the next thumbnail. This script I found on another site doesn't have this flashing of the image, since the enlargement stays visible until another thumbnail is activated by the rollover. I like this feature, and just need to know how to modify the script to allow for another simultaneous rollover image to appear (in place of the thumbnail, as described above).
Can anyone help?
Thanks!