Welcome visitor
* Login
* Register
It is currently November 18th, 2019, 5:49 am
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
  How to use an iframe and links
PostPosted: November 11th, 2009, 12:16 am 

Posts: 13
I have a page with an iframe on it, which is like a little additional window. I have links to open on the iframe but others should open in the full screen, how can I specify that?


Top
 Profile  
 
  Re: How to use an iframe and links
PostPosted: November 11th, 2009, 8:22 pm 

Posts: 56
It is the target and name attributes you will use for this.
<iframe name="auxwin"></iframe>
<a href="scriptingok.com" target="auxwin">This opens in the iframe</a>
<a href=".scriptingok.com" target="_blank">This opens in the a new window</a>
<a href="scriptingok.com" target="auxwin2">This opens in a window called auxwin2</a>
<!--if the window doesnt exist it will create it-->
<a href="scriptingok.com" target="_self">This opens in the the same window (or frame or iframe)</a>
<a href="scriptingok.com" target="_parent">This opens in the window (frame or iframe) that contains your window (frame or iframe)</a>
<a href="scriptingok.com" target="_top">This opens in the "main" window (full screen)</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