Demo of Highslide with dynamic URLs (gallery)

This is a proof-of-concept of Highslide working with Ajax/hash URLs. When you open a picture, the URL bar of your browser updates with a hash corresponding to the picture (to be precise: to the id of the link which contains the picture, i.e. #winter). You may pass this new URL to a friend, and when they open it, they will see the picture in the same way you saw it when you copied the URL. On top of that, now your browser’s back button closes Highslide, which in my opinion is more intuitive than if it redirected you immediately to the previous actual page you visited.

Please use this example with caution because it was written by a Javascript newbie.

See also the demo with separate images.

Download all demo files in the gzip archive.