Completely out of my butt, but... Can you change the value of the back button in the history array, so that it points to where you want to send them, or point to a javascript function instead of the actual link?
Just a thought, Jerry Johnson >>> [EMAIL PROTECTED] 05/22/02 04:31PM >>> Okay, onUnload sounds good...but how can you tell if you are moving forward or backward? I only want to direct them back to the initial page if they press the back button... -----Original Message----- From: Costas Piliotis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 3:42 PM To: CF-Talk Subject: RE: Back button and history.go() I think there's also a onBeforeUnload() event in IE that you could play around with as well... -----Original Message----- From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 11:34 AM To: CF-Talk Subject: RE: Back button and history.go() > Slightly off topic...I searched the archives briefly without luck but > need a quick answer... > > Is there a way to call a javascript when the browser's back button is > pressed? You might want to play with onUnload(), but I'm not sure if you can detect if it's a Back button press as I've never needed to check for that Philip Arnold Technical Director Certified ColdFusion Developer ASP Multimedia Limited Switchboard: +44 (0)20 8680 8099 Fax: +44 (0)20 8686 7911 www.aspmedia.co.uk www.aspevents.net An ISO9001 registered company. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

