In article <>,
enlightened
us with...
> sorry, but need to post entire frameset here to ask my question:
>
> <frameset rows="79,344,107">
> <frame name="header" src="header.html">
> <frame name="player" src="mediaselect.html">
>
> <frameset cols="353,*">
> <frame name="left" src="left.html">
> <frame name="right" src="right.html">
> </frameset>
> </frameset>
>
> I need to ref. from within right.html to mediaselect.html...
If you don't need to worry about being in someone else's frameset, you
can use
top.frames['player'].location.href;
to get the string representation of the URL. [1]
Otherwise, I *think* you can use
self.parent.parent.frames['player'].location.href;
but I haven't played with nested framesets in a long time.
I believe that if the frame has loaded content outside your domain, this
will fail as a security violation.
[1] IIRC, using just window.location returns a Location object, not a
string.
--
--
~kaeli~
Hey, if you got it flaunt it! If you don't stare at someone
who does. Just don't lick the TV screen, it leaves streaks.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace