JavaScript doesn\'t allow you to update window.location
without triggering a reload. While I agree with this policy in principle (it shouldn\'t be possible to
As mentioned, generally with ajaxy sites, you manipulate/check the hash part of the URL (window.location.hash
) to determine this kind of activity.
The biggest issue is making sure to check against the hash in DOM-ready/window-load, as if the user clicked on a given image. This will work with browsers and bookmarks, but may hamper search indexing.