Usually the image is being previewed with anchor's onclick event. But what if we want to change the event to onmouseover.
Here's what to do:
1.) Open lightbox.js
2.) On line 190
document.observe('click', (function(event)
TO
document.observe('mouseover', (function(event)
And that should do it.
Learn Lightbox Preview Image Onmouseover
byczetsuya
-
0
Post a Comment