[Javascript] Get URL and Title from page in another frame??
Peter Brunone
peter at brunone.com
Thu Mar 29 11:12:10 CST 2001
David,
Here are the two properties you need:
document.title
window.location.href
Just walk the frameset to get to the right one, e.g. top.frame1.location.href or top.frame1.document.title .
Cheers,
Peter
----- Original Message -----
From: Ciko, David
To: Javascript List (E-mail)
Sent: Thursday, March 29, 2001 10:57 AM
Subject: [Javascript] Get URL and Title from page in another frame??
I'm wondering if it's possible, using Javascript, to retrieve the URL and Title of a page in another frame??
I'm looking to have a 'bookmark this link' script that will add a bookmark for the framed page, as well as have another link to remove the frame and open in it's own window.
Thanks for the help,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010329/8a078e7d/attachment.htm>
More information about the Javascript
mailing list