AJAX: How to Handle Bookmarks and Back Buttons
Pages: 1, 2, 3, 4, 5, 6
Conclusion
You have now learned to use the Really Simple History API to make your AJAX applications respect bookmarks and the back and forward buttons, and have example code that can be used as scaffolding for creating your own applications. I look forward to seeing your AJAX inventions out in the wild, complete with bookmarks and history support.
Acknowledgements
Special thanks to everyone who reviewed this article and the Really Simple History framework: Michael Eakes, Jeremy Sevareid, David Barrett, Brendon Wilson, Dylan Parker, Erik Arvidsson, Alex Russell, Adam Fisk, Alex Lynch, Joseph Hoang Do, Richard MacManus, Garret Wilson, Ray Baxter, Chris Messina, and David Weekly.
Resources
- Download all sample code for this article.
- Download the Really Simple History framework.
- Demo O'Reilly Mail or download the O'Reilly Mail source code. The full example download also includes more examples for you to play with.
- Coding in Paradise: The author's weblog, covering AJAX, DHTML, and Java techniques and new developments in collaborative technologies, such as WikiWikis.
- "Coding in Paradise: AJAX: Bookmarks and Back Buttons, Advanced Example"
- "Coding in Paradise: Safari: No DHTML History Possible"
- "Coding in Paradise: AJAX Tutorial: Saving Session Across Page Loads Without Cookies, On The Client Side"
- "Coding in Paradise: AJAX History Libraries"
Brad Neuberg has done extensive work in the open source community, contributing code to Mozilla, JXTA, the Jakarta Feed Parser, and more.
Return to ONJava.com.
-
Its Working perfect in IE7 and FF but not in IE8
2009-11-05 18:11:51 juanno [View]
-
It did not work for me
2009-04-29 01:09:02 Genji [View]
-
Prevents Javascript Functioning
2009-01-12 05:18:37 Bookmarkscreen [View]
-
Thanks for your article
2008-12-06 07:01:52 yuenflai [View]
-
Thanks for your article
2008-12-06 06:59:57 yuenflai [View]
-
Does not work when leaving page (IE 7)
2008-10-07 03:01:20 Akora [View]
-
RSH problem with IE
2008-05-27 18:42:47 apj100 [View]
-
JSON / dhtmlHistory compatibility ?
2008-03-11 12:31:45 rivkaha [View]
-
Does not work
2008-02-04 09:59:07 ShamsulJewel [View]
-
Does not work
2008-04-10 23:11:20 jmx33 [View]
-
Framed browsing
2007-05-02 13:18:44 wayfarer3130 [View]
-
When one of your ajax pages contains real anchors...
2007-04-23 02:58:24 funkydunc [View]
-
RSHf and dynamic ajax multiselect
2007-04-18 07:57:06 hcvitto [View]
-
Problems in Internet Explorer 6
2007-03-29 10:07:15 an00bis [View]
-
memory footprint
2007-03-28 06:01:34 pmouawad-at-ubik-ingenierie [View]
-
memory footprint
2007-03-29 10:11:09 an00bis [View]
-
memory footprint
2007-04-01 09:19:32 pmouawad-at-ubik-ingenierie [View]
-
RSH breaks in IE7
2007-03-20 06:53:13 burnt1ce85 [View]
-
Great Lib !
2006-11-14 01:45:53 jWiesmann [View]
-
strange behavior w/ tomcat
2006-09-21 13:49:10 donlee8 [View]
-
strange behavior w/ tomcat
2006-09-21 13:53:05 donlee8 [View]
-
Problems with IE 7 RC 1
2006-09-18 03:34:00 gswkaiser [View]
-
Problems with IE 7 RC 1
2007-08-07 23:06:51 claudiog [View]
-
Loading bar in IE
2006-09-10 11:22:54 KieranS [View]
-
Doesn't work in IE after a popup window
2006-08-16 14:57:23 koehn [View]
-
Doesn't work in IE after a popup window
2006-09-19 00:34:22 PJones [View]
-
Duplicate key entries
2006-07-25 02:31:24 KieranS [View]
-
Loading a bookmarked page erases history
2006-07-07 02:15:13 gbaud [View]
-
Awesome code package
2006-06-29 01:29:36 joshua_70448 [View]
-
some error in dhtmlHistory
2006-06-01 04:09:03 Vladimir_TTT [View]
-
some error in dhtmlHistory
2006-06-03 23:14:19 Vladimir_TTT [View]
-
Two Common Issues and Fixes
2006-02-24 10:33:03 BradNeuberg [View]
-
DOesn't work for me either
2006-02-24 07:03:39 jimE [View]
-
Doesn't work for me either
2006-02-24 08:00:04 jimE [View]
-
Great stuff! But does not work in IE 6.0.2900
2006-01-17 08:38:50 DamienB [View]
-
Great stuff! But does not work in IE 6.0.2900
2006-01-17 10:11:11 BradNeuberg [View]
-
Fixed
2005-12-05 09:48:55 BradNeuberg [View]
-
?
2005-12-05 08:10:22 SlapStik [View]
- Trackback from http://blog.donews.com/accesine/archive/2005/11/01/611378.aspx
AJAX如何处理书签和翻页按扭(上)
2005-11-01 06:29:06 [View]
- Trackback from http://blog.csdn.net/accesine960/archive/2005/11/01/520916.aspx
AJAX如何处理书签和翻页按扭
2005-11-01 06:23:56 [View]
-
Why onjava.com?
2005-10-31 07:53:44 tcowan [View]
- Trackback from http://www.onegeeksopinion.com/mt/archives/2005_10.php#000296
AJAX: How to Handle Bookmarks and Back Buttons
2005-10-29 10:25:21 [View]
- Trackback from http://www.shiv-prasad.com/2005/10/28/ajax-how-to-handle-bookmarks-and-back-buttons/
AJAX: How to Handle Bookmarks and Back Buttons
2005-10-28 02:40:47 [View]
-
More discussion
2005-10-27 09:30:24 BradNeuberg [View]
-
Updated link to TSS thread
2006-08-17 06:41:35 digitalsanctum [View]
- Trackback from http://bugs.knovel.com/confluence/display/Proj/Back+Button+and+bookmarks
Back Button and bookmarks
2005-10-27 09:01:01 [View]
- Trackback from http://www.robsanheim.com/?p=97
Bookmarks and the back button with Ajax at onjava.com
2005-10-27 07:29:46 [View]
-
Quicksand?
2005-10-27 03:16:05 hieper [View]
-
Quicksand?
2005-10-27 09:06:57 BradNeuberg [View]
-
Really Helpful Article
2005-10-26 21:37:53 SilentWalker [View]