I know there is a jQuery plugin called "History" that handles this.  Here's 
the link:

http://plugins.jquery.com/project/history

Even if you don't currently use jQuery, it might be worth it to use it just 
for this plugin rather than reinventing the wheel.

-- Josh



----- Original Message ----- 
From: "Claude Schneegans" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Monday, March 17, 2008 11:45 AM
Subject: Back button and Ajax


> Hi,
>
> Ajax is a nice feature, for instance when only some part of a page must
> be changed,
> one can populate some internal DIV instead of reloading the entire page.
>
> But the problem is when the visitor hits the back button: he then
> doesn't get back
> to the previous sub page, but to the page he opened the current page from.
>
> Has any one implemented some feature that would allow to
> 1. check if the back button is hit,
> 2. go back to the previous sub-page instead of the previous page?
>
> -- 
> _______________________________________
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED])
> Thanks.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:301435
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to