Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Javascript
ref from one frame to another w/in frameset
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="kaeli, post: 4725683"] 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. [URL]http://www.ipwebdesign.net/wildAtHeart[/URL] [URL]http://www.ipwebdesign.net/kaelisSpace[/URL] [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Javascript
ref from one frame to another w/in frameset
Top