codecomputerlove/PhotoSwipe — Issue #208: Photoswipe w/ JQM: Return to same place on page after closing gallery
Author: brettdewoody
Created: 2011-12-02 16:27:47+00:00
State: open

Hi! First off, congrats and thanks on this awesome little tool! It's been a huge help.

I'm building an iPad app and using Photoswipe with jQuery Mobile to display a photo gallery. I'm using a multi-page template with jQuery Mobile as well.

When I open a photo gallery, then close it I'm getting returned to the top of the page, regardless of where I was when I opened the gallery. For example, if I'm 50% of the way down a page, open the photo gallery and close it, then I jump to the top of the page again.

Is there a way to suppress this?

Thanks again!

- Brett