Click to See Complete Forum and Search --> : Any Idea's for a "Double Back Button" for the browser?


Willstein
10-25-2003, 10:39 AM
Hey I need help finding a script,

I need to make the back button go two pages back instead of one.

Any ideas?


Thx

Khalid Ali
10-25-2003, 10:43 AM
history.go(-2);
should help

Willstein
10-25-2003, 11:09 AM
ahh, but I think this a link.

I need to change the actual "back" button on the browser.

Khalid Ali
10-25-2003, 11:22 AM
you can not.

Willstein
10-25-2003, 11:26 AM
Well on my website (yours too), you cannot go back from the homepage.

My index page is really a redirect page for the flash/non flash version of my website.

clicking back, would just bring them forward again. Any suggestions?

Khalid Ali
10-25-2003, 12:05 PM
Those redirections are not a very good idea(though I have it too for some freaky reasons).

But what you can do is

in the redirect page if JavaScript is enabled you can replace the current history entry by using

window.location.replace = "nextPageurl.html"

Willstein
10-25-2003, 04:00 PM
So would it be possible, if java was enabled to say:

"window.location.replace = "LastPageVisited.html"

genommen
10-27-2003, 04:41 PM
I am having the same problem because I use a flash movie on my site, it loads the non flash page and checks for flash, if flash is found it loads a new page, is there anyway of either doing what you are trying to do with changing how the page is in history or just having the same javascript change the rest of the html to be the flash movie?

Willstein
10-27-2003, 04:59 PM
This is what I finally resorted too.



Mansei Design (http://www.lavashark.com)

Notice the bottom link, "if you're not sure"

eh?


email me, and lets try to find somekind of solution together. you can find my email on the website on the top/bottom right corner. "email"