[thelist] Javascript back button in a popup
.jeff
jeff at members.evolt.org
Fri Nov 8 22:27:01 CST 2002
derry,
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Derry Talvainn
>
> Now I want to put an "I decline" button on the site that
> will send the user back in history to the previous web
> page they were on before this website. But when I use
> history.back() or history.go(-1) it doesn't work within
> the popup (works fine if on the home page).
>
> Does anyone have any idea about how to put a back button
> in a popup that will take the user to the previous site
> they were on?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
off the top of my head (untested)
onclick="opener.history.go(-1); self.close()"
what are you going to do in the case of the person opening the site without
clicking another link to it? in other words, there may not always be a page
to go back to.
.jeff
http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/
More information about the thelist
mailing list