Question

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?

Was it helpful?

Solution

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.

OTHER TIPS

It's a bit weird to reply to question that was asked 5 years ago, but I released a gallery script that can do this - http://photoswipe.com/

I've got another solution for You. Jquery mobile suports navigation controll. Have a look at this link how to control back button event in Jquery mobile?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top