top.location.replace()
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

top.location.replace()

From: Alan Little <alan@n-o-s-p-a-m-phorm.com>
Date: Sun Mar 19 2006 - 14:12:31 CET

Do a search at this site:

http://www.mindsift.com/

Select a non-sponsored link, then give the site a rating. The rating
frame closes. Now click your "back" button. If you're using IE, you'll go
back to the search results. This is the desired behavior. In NS, FF and
Opera, it takes you back to the frameset. I'm using top.location.replace;
from my understanding that should do it. I *hate* it when only IE does
what I want.

Any ideas why this doesn't work, or how I can achieve the desired
behavior? I inherited this code from someone else. I tried using the
closeframe() method which they used for the "remove this frame" link, but
that just closes the frame, and leaves the history entry, so that you
still have to back up twice to get to the search results.

-- 
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/
Received on Mon May 1 04:12:53 2006