[thelist] breaking out of someone else's frameset

McCreath_David McCreath_David at xmail.asd.k12.ak.us
Thu, 2 Dec 1999 17:18:36 -0900


Excellent! That's much nicer. I'm trying to avoid bad blood and that back
thing would have been a...a...well, a schnarf for lack of a better word.

------------------
David McCreath
Website Coordinator
Anchorage School District
http://www.asd.k12.ak.us
(907) 257-8230

> ----------
> From: 	Eric Engelmann
> Reply To: 	thelist@lists.evolt.org
> Sent: 	December 2, 1999 5:08 PM
> To: 	thelist@lists.evolt.org
> Subject: 	RE: [thelist] breaking out of someone else's frameset
> 
> One alternative to:
> 
>  if (window != top) top.location.href = location.href;
> 
> is:
> 
>  if (window!=top) top.location.replace(document.location.href);
> 
> since using the replace function won't mess with your back button at all
> (it
> replaces that page in your history instead of forwarding you to a new
> page).
> That way, no one gets stuck in the JS redirect so thier back button
> doesn't
> work. That's gotta be one of the top 10 most annoying things in web
> design... Is that a new thread in and of itself? ;-)
> - Eric
> 
> 
> _______________________________________________________
> unsubscribe+options: http://lists.evolt.org/mailman/listinfo/thelist
> tip harvester: http://lists.evolt.org/harvest/
> email archive: http://lists.evolt.org/archive/
> http://evolt.org/  Workers of the Web, evolt !
> 
>