M
marcadonis
Hi!
Does anybody know of a way that I can keep a reference to an object
that I can then reuse? I tried various approaches using navigator, but
these all fail in an iframe due to premission problems.
For e.g.:
navigator.stuff = 5;
will work fine so long as this is done in the top level window. But if
I then do:
alert(navigator.stuff);
in a child iframe, i get 'undefined'... almost as thought I were
refering to a different navigator object (??). What gives?
Furthermore, if I then try refering instead to top.navigator or
parent.navigator, I get permission denied errors, presumably due to the
fact that my iframe is coming from a different URL than its parent.
There must be some sneaky underhanded way of doing this (using a hidden
frame maybe?), but I'm at my wit's end here!
Help!
Thanks,
Marc
Does anybody know of a way that I can keep a reference to an object
that I can then reuse? I tried various approaches using navigator, but
these all fail in an iframe due to premission problems.
For e.g.:
navigator.stuff = 5;
will work fine so long as this is done in the top level window. But if
I then do:
alert(navigator.stuff);
in a child iframe, i get 'undefined'... almost as thought I were
refering to a different navigator object (??). What gives?
Furthermore, if I then try refering instead to top.navigator or
parent.navigator, I get permission denied errors, presumably due to the
fact that my iframe is coming from a different URL than its parent.
There must be some sneaky underhanded way of doing this (using a hidden
frame maybe?), but I'm at my wit's end here!
Help!
Thanks,
Marc