Forum Moderators: open

Message Too Old, No Replies

IE6 and weird "history.go(-1)"

         

Didier

5:52 pm on Nov 9, 2004 (gmt 0)

10+ Year Member



Hello!

I am new here.

Quite recently I upgraded from IE5 to IE6. Everything was working fine under IE5. Now I see that all "history.go(-1)" are not working properly. I am using frame and when clicking on the "history.go(-1)", in the best of cases I am sent to the top of the page, but never to the previous page in that frame. If the "history.go(-1)" is already at the top, nothing is happening. Then after using the "history.go(-1)" and then the "backspace", I am sent 2 pages before!

Well, any advice quite welcome! Would like that it will be working under both IE5 and IE6. Any solutions?

Many thanks in advance!

Here is the code:
<CENTER><FORM>
<INPUT TYPE="Image" SRC="back.gif" NAME="Submit" onclick="history.go(-1)">
</FORM></CENTER>

tedster

4:08 am on Nov 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the forum, Didier and thanks for joining us. Have you tried this with a regular anchor tag instead of a form?

<a href=# onclick="history.go(-1)">Back</a>

Didier

4:32 pm on Nov 11, 2004 (gmt 0)

10+ Year Member



No, but now I will do it. I already tried and it is working. Fine. And very simple! Should try to learn more...
Many thanks!