Carved in mystic runes upon the very living rock, the last words of
Danny of comp.lang.javascript make plain:
crossdomain frames have no access to eachother.
That's good to know; it would be better if the JS Console gave an
understandable error message. I've been banging my head on the desk,
trying to get my script to work. I want to have frame 1 put frame 2's
location into the top location; in effect, closing itself.
top.frames.length gave me 2, as expected, and top.frames[0].location gave
the expected result, but top.frames[1].location gives me this message in
the Console:
Error: uncaught exception: [Exception... "Could not convert JavaScript
argument arg 0 [nsIDOMWindowInternal.alert]" nsresult: "0x80570009
(NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame ::
http://www.holotech.loc/linkman/dev/linkrate.php :: <TOP_LEVEL> :: line
5" data: no]
Um...yeah....
--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/