Hi
I have downloaded PhotoSwipe and try to have it run as i want on our website. Im almost done but I have an issue. The JS-application runs in page load but i want it to run on btn click. I have a button that starts the JS but thats only possible after the JS has been closed.
http://photoswipe.com/documentation/getting-started.html
Go to line "At the end you should get something like this:" and try the solution open Source from "@dimsemenov".
You see that the application start by showing images. If you click "close" (X) in upper right corner you se a button named "OpenPhotoSwipe". Thats how i want it; just a button running JS.
http://codepen.io/dimsemenov/pen/gbadPv