views:

651

answers:

1

After running some usability tests, I found that participants opened a jQuery Lightbox to view larger images. Then rather than clicking the 'close' button they simply hit the browser back button. That sends them to the last page rather than closing the lightbox.

Does anyone know a jQuery photo gallery that supports the described back button behavior? Or has anyone modified their jQuery Lightbox to do so?

+3  A: 

Try the jQuery history plugin here. You will probably have to add some custom hook function to modify the behavior of Lightbox, but it shouldn't be too hard.

David Hanak
Thanks, this is exactly what I needed!
DavGarcia