• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7820
  • Last Modified:

Display image on mouseover using lightbox

How can i use the lightbox effect (http://www.huddletogether.com/projects/lightbox/) on mouseover, so instead of clicking i just hover the mouse over the image to display enlarged image.
0
crikeyhosting
Asked:
crikeyhosting
1 Solution
 
BenMorelCommented:
Hi,
In lightbox.js, changing line 293 from :
anchor.onclick = function () {showLightbox(this); return false;}

to :
anchor.onmouseover = function () {showLightbox(this); return false;}

...should work !
I attached the modified file.

Regards,
Ben
lightbox.txt
0
 
juratorialCommented:
This doesn't work...other ideas?
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now