Welcome visitor
* Login
* Register
It is currently September 20th, 2019, 1:48 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Open a link from a popup to the parent window
PostPosted: December 29th, 2009, 3:14 am 

Posts: 17
Hi, I think I can use some help with a question I have right now...

Its about a link inside a popup window, it should open back in the parent window. I know I've seen this before but I dont remember where or how to do it. Thanks for your help and time in advanced.

I've tried this but it doesn't seem to work
<a href="http://www.google.com" target="_parent">back to parent</a>


Top
 Profile  
 
  Re: Open a link from a popup to the parent window
PostPosted: December 29th, 2009, 3:33 am 
User avatar

Posts: 112
It is because on JavaScript the parent.window is called 'opener'
<a href="#" onclick="window.opener.location.href='http://www.scriptingok.com';">this opens on the parent</a>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron