Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Leapfrogging backwards works in Firefox but not in IE

Reply
Thread Tools

Leapfrogging backwards works in Firefox but not in IE

 
 
Norman Swartz
Guest
Posts: n/a
 
      10-12-2006
The script works in Firefox but not in IE.

Here's what I want to do:

file1.htm loads file2.htm
file2.htm loads file3.htm
The "Back" button in file3.htm returns the user to file1.htm

Here is how I coded the script which is placed into file2.htm:

<SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT">
function leapfrog()
{
kludge = window.location.replace("./file3.htm")
}
</SCRIPT>
:
:
<a href="javascript:leapfrog()">
<b><font size="+1">Continue</font></b></a>

In Firefox, this coding works exactly as I want. But in IE, when one
clicks on the "Back" tab in file3.htm, one is returned to file2.htm
instead of file1.htm. What changes are needed so that the code works as
I want in both IE and Firefox? Thanks.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Letters Type Backwards Firefox 3.03 letterman@invalid.com Firefox 10 12-20-2008 05:42 PM
Re: Letters Type Backwards Firefox 3.03 John Doe Firefox 4 10-15-2008 05:18 AM
Works in IE but not in firefox (not sure if syntax is correct) chrisgibson Firefox 0 08-26-2006 04:01 AM
[py2exe.i18n] English works, German works, but not French. What do I miss? F. GEIGER Python 3 08-06-2004 10:01 AM
Porting library from C to C++ but must maintain backwards compatibility Sonny C++ 7 02-10-2004 06:50 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57