Welcome visitor
* Login
* Register
It is currently May 26th, 2019, 2:59 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
  Change 2 frames with one link only
PostPosted: November 19th, 2009, 7:06 am 

Posts: 39
Hello, I have a site with 2 frames. One with links and the other is the target. Now, there's one particular link that I want to open in the other frame but also change the content on the link's frame, so both frames need to change when this link is clicked. Thank you.


Top
 Profile  
 
  Re: Change 2 frames with one link only
PostPosted: November 19th, 2009, 7:31 am 

Posts: 57
<a href="http://scriptingok.com" target="frame2" onclick="window.open('http://www.google.com', '_self');">link</a>

Just change the URL of the links and the target with the name of your frame and you're ready to do!


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