homepage Welcome to WebmasterWorld Guest from 54.234.60.133
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
javascript help
linking from a pop up window
allybongo




msg:1485843
 11:34 am on May 29, 2002 (gmt 0)

I have a website that opens a pop up window after loading. The pop up window has 3 links. Is there a way of clicking on the links and getting the pages to load in the page behind (the one that generated the popup)?

At the moment I have them set to target _blank but that means I end up with tons of separate windows!

Thanks, hope this makes sense!

 

Nick_W




msg:1485844
 11:42 am on May 29, 2002 (gmt 0)

I'm no JS expert so I wait with interest for the real answer but in the meantime....

should'nt it be target_parent (or something similar?) I'm sure I remember somthing like that...

Nick

tedster




msg:1485845
 12:15 pm on May 29, 2002 (gmt 0)

Just finished setting up a bunch of these - so the snippet is close at hand. I love the timing!

onClick="window.opener.parent.location='yournewurl';"

sparrow




msg:1485846
 12:21 pm on May 29, 2002 (gmt 0)

Thanks Tedster, I was needing that a few weeks ago, but I just worked around it.

I'll put it to good use now.

allybongo




msg:1485847
 12:46 pm on May 29, 2002 (gmt 0)

thanks so much for that :-)

I'll add it to my ever increasing list of useful stuff since I can't write any of it myself.

This site is so cool, there are loads of forums out there where you can wait weeks for a reply, here its instant!

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved