homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

popup window needs URL for doc that opened it
get the url of parent's web page

 4:45 am on Apr 1, 2003 (gmt 0)

I had made a web page(emailpage.htm) to email the current page[using the javascript].

I'd like to make the emailpage.htm acts like a popup window .But I can't get the url from the parent page from the emailpage.htm.

Please help me! thank you very much!



 4:47 am on Apr 1, 2003 (gmt 0)

Welcome to WebmasterWorld johnkevien,

what about in javascript using the window.opener property?


 7:33 am on Apr 1, 2003 (gmt 0)

I mean:

page one: emailpage.htm
page two: article.htm

there is a link on page "article.htm" to open a new window(emailpage.htm).

Now I use the code :"window.location" to get the current page(emailpage.htm) url,but I wnat to get the url of article.htm .


 10:19 am on Apr 1, 2003 (gmt 0)

it's window.opener.location


 2:46 pm on Apr 1, 2003 (gmt 0)

Thank you very much!

It work well!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved