Now i want to use the close button as a back in history function. I am using jquery and the photoswipe plugin, no jquery mobile or sansa touch.
Thanks for your help
add the following to the button:
Now your button will look something like
<a href="#" onclick="history.go(-1)">Close</a>