ajax| Button | interactive | browser | Problem AJAX more and more applications to web interaction, but there are some problems with Ajax interaction, such as the traditional web browsing is a page switch, so you can use the browser's Back button and forward button to switch to the specified browsed page, Which is the history of the browser.
However, when interacting with Ajax, it is through js+xmlhttp to get other page information, for browsing users, is a recessive UE, do not feel the browser address bar URL changes, to the browser, address bar URL did not change, can not produce history.
Not that when interacting with Ajax, the back button problem can not be solved, for AJAX applications are very mature sites such as Google, these have been resolved. There are enthusiastic foreigners have provided a solution, coarse to see, the principle is to use the IFRAME, interested in their own to study it
The foreigner tube This is called: Really simple History framework, but also has the specialized Ajax History libraries
About: Click here to browse
Let's take a look at a demo:
Http://www.donotremove.co.uk/extra/ajax-nav/index.html
The download address for this demo is PHP's
Http://www.contentwithstyle.co.uk/resources/ajax-nav/ajax-nav.zip
Another article introduction: Click here to browse
Download the example of this article: click here to download
Browser |
Bookmarking | Back
button |
Ie6/pc |
Yes |
Yes |
Ie5.5/pc |
Yes |
Yes |
Ie5/pc |
Yes |
Yes |
Ie5/mac |
No |
No |
Firefox/pc |
Yes |
Yes |
Firefox/mac |
Yes |
Yes |
Safari1.2/mac |
Yes |
No |