Re: 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

Re: top.location.replace()

From: Alan Little <alan@n-o-s-p-a-m-phorm.com>
Date: Mon Mar 27 2006 - 20:38:34 CEST

Carved in mystic runes upon the very living rock, the last words of Alan
Little of comp.lang.javascript make plain:

> Any ideas why this doesn't work, or how I can achieve the desired
> behavior?

OK, this is driving me nuts, and if I don't get this figured out soon, I
going to go postal on some browser programmers.

With a great deal of blood, sweat and tears and some voodoo involving a
severed chicken head, a browser sniffer and a spatula, I was able to get
it to work in FF and Opera. The only holdout is NS, and I'd really like
to get it to work before the devil comes to claim my soul on the deal I
did for the other two.

NS has been entertaining me with all kinds of idiocy. If I minimize the
ratings frame, like I do for FF and Opera, NS just blinks at me, and
creates four copies of the target URL in the history, but three of them
are dead -- the Back button doesn't work, and the only way to go back is
to make a selection from the dropdown. In several of the thousands of
solutions I've attempted (any of which, logically, should have worked),
everything is fine until I add the location setting. It then skips
everything except the location setting, tacking the target URL onto the
history, and sometimes making dead copies. Although with one of the
solutions (I forget which one), I did discovere that I could get it to
work if I add an alert() in there. That's F*ING logical, right?

Can anybody provide some insight, perhaps suggest a way to get NS to do
what I'm trying to do? Anybody? Anybody? While I still have one or two
shreds of sanity left?

The JS file is at http://www.mindsift.com/html/programs/drate.js

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