4 ms·
The hash is also the only way (AFAIK) to insert an Ajax request into the browser history, thus enabling the use of the browser's back button.
by lukifer 16y ago
The hash is also the only way (AFAIK) to insert an Ajax request into the browser history, thus enabling the use of the browser's back button.
- sirn 16y agoHistory API[1]? :) If History API is being used alongside with alanh's method, that would eliminate the links in the wild problem. Flickr's lightbox view[2] is using this method for its AJAX viewing. The biggest holdback is Internet Explorer, though. (Well, just like almost everything else.) [1]: http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html http://www.whatwg.org/specs/web-apps/current-work/multipage/... [2]: http://www.flickr.com/photos/cubagallery/3986524856/lightbox/ http://www.flickr.com/photos/cubagallery/3986524856/lightbox...