This object can switch images in a gallery when user hovers them.
It can listen to mouse events on page elements with thumbnail images with a given class attributes.
When the user hovers a thumbnail image this object shows the full size image in a popup element and switches to another image when the user hovers a different thumbnail image.
Currently it supports 3 different popup positioning methods: in the center of the screen, next to the hovered thumb, and in a statically positioned element. Custom positioning methods may also be implemented.
The gallery images are cached to switch faster to the current image. |