Targeting links to open outside of an i-frame

liunx

Guest
What needs to be thrown into a link that displays in an i-frame if i want the linked page to open up outside of an i-frame in a new browser window?<br />
<br />
like for instance if i have a list of linked sites displayed in an i-frame and i want the sites to open up in a new window?<!--content--><a target="_blank" href=http://www.htmlforums.com/archive/index.php/"URL">TEXT</a><!--content-->thanks Tsuki<br />
<br />
so if i understand this correctly; "_blank specifies nothing<br />
basically so if it specifies nothing its forced to open in another browser window since there is no valid target.<br />
<br />
now when i target into the ifram<br />
<br />
its <br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"http://lots.ofblah.com" target="iframe"<br />
<br />
isnt the href supposed to be before the target?<br />
<br />
this is how you posted, but then maybe both methods work.<br />
<br />
<a target="_blank" href=http://www.htmlforums.com/archive/index.php/"URL">TEXT</a><br />
<br />
on a seperate note how were those glass colored tables done on your site? thats the first time ive ever seen that done<br />
before.<!--content-->As first, argument ordering does not matter.<br />
<br />
If you want a link to open in specified frame or iframe, the frame must have a name, for instance:<br />
<br />
<iframe name="main_iframe" ...arguments...><br />
<br />
Then, just put the frame name to the link's target argument:<br />
<br />
<a href=http://www.htmlforums.com/archive/index.php/"url" target="main_iframe">Link text</a><!--content-->i have my links targeted to the i frame but i have two links i want to open in a new browser window.<br />
<br />
<a target="_blank" href=http://www.htmlforums.com/archive/index.php/"URL">TEXT</a><br />
i just was wondering if the syntax of this should be href or<br />
target first, if target can come before href i didnt know that, but im about to try it now anyway :D<br />
<br />
so i'll know in all of 5 minutes<!--content-->This is what I just posted <br />
As first, argument ordering does not matter.<br />
I meant, that it doesn't matter whether you put href first, or target first. In HTML it never matters in which order you put the arguments.<!--content-->Originally posted by Collado008 <br />
i have my links targeted to the i frame but i have two links i want to open in a new browser window.<br />
To open a link in the iframe, set target to the iframe's name. To open it in a new browser window, set target to _blank. Simple?<!--content-->Do you mean the headers?<br />
That's done with a code placed in a css stylesheet like this:<br />
<br />
.head { color: #ffffff; <br />
text-transform: capitalize; font-weight: plain; font-size: 11px; <br />
border: 1px solid; color: #ffffff; background-color: #2A3A6B; style: 1pt dotted; <br />
padding-left: 1px; text-align:justify}<br />
<br />
But only IE users can see it. :(<!--content-->Originally posted by Tsuki <br />
Do you mean the headers?<br />
That's done with a code placed in a css stylesheet like this:<br />
<br />
.head { color: #ffffff; <br />
text-transform: capitalize; font-weight: plain; font-size: 11px; <br />
border: 1px solid; color: #ffffff; background-color: #2A3A6B; style: 1pt dotted; <br />
padding-left: 1px; text-align:justify}<br />
<br />
But only IE users can see it. :( <br />
style: 1pt dotted;<br />
<br />
is invalid. no such attribute in css.<br />
<br />
and why only IE? all css compliant brwoser will use it.<!--content-->i meant the tables with your navigation and other stuff they kind of have a see through effect<!--content-->yeah, I was wondering what that did, I kinda copied the code from somewhere else.<br />
<br />
Well, when I tried it in Netscape they didn't show up. I don't know about mozilla.<br />
<br />
Colored scrollbars are also css but they don't show in all browsers either.<!--content-->Oh, I used div tags.<!--content-->
 
Back
Top