View Single Post
Old 06-08-2009, 04:44 AM   #1 (permalink)
dannyman1234
Registered User
 
Join Date: Apr 2009
Posts: 23
OS: windows xp


Double click browser-back button behaviour in IE

Hi,

I am using a window.localtion redirect in Javascript to convert to SEO urls in an existing site. I didnt make the website from the beginning, so I'm using javascript to dynamically redirect pages to the SEO pages in cooperation with mod_rewrite:

2 examples:


{if $uri == '/index.php?id=6'}
<script type="text/javascript">window.location.href="products6.htm"</script>;
**/if}

OR

{if $uri == '/index.php?id=3'}
<script type="text/javascript">window.location.href="home3.htm"</script>;
**/if}


$uri is the old url. If I want to go back from products6.htm to home3.htm Then I have to click 2 times to go back a previous page. This only occurs in IE, in firefox and Safari, it works fine.

Doesn anyone know a fix for this?
dannyman1234 is offline   Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here