Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Open Iframe links in a new page
Old 11-26-2004, 03:32 PM Open Iframe links in a new page
Spud In Disguise's Avatar
Super Spam Talker

Posts: 808
Location: UK... where else?
Trades: 0
Hey, I have an Iframe which links to a page on a different site, not ownesd or controlled by me (it's a news feed). However I need the links that are displayed to open in a new window, but this is not included in the service. Is there anything I can put in the iframe tag that will open all the links within it in a new window?

I have put the <base target="_blank"> tag in my head tag area on the page where the iframe is located and that doesn't work (obviously).

Please help, it's vital.
__________________

Please login or register to view this content. Registration is FREE
- Fansite

Please login or register to view this content. Registration is FREE
- Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
 
Register now for full access!
Old 11-26-2004, 10:24 PM
Anacrusis's Avatar
Defies a Status

Posts: 2,099
Name: Adam
Location: Colchester CT
Trades: 0
Your close, try putting the target="_blank" into each of your href tags:

<a href="somesite.com" target="_blank">
Anacrusis is offline
Reply With Quote
View Public Profile
 
Old 11-27-2004, 05:53 AM
Spud In Disguise's Avatar
Super Spam Talker

Posts: 808
Location: UK... where else?
Trades: 0
No I don't think you understand. The links are contained on the page that the iframe links to, I cannot ammend anything to do with the links because I am not hosting the page. How can Imake any link that appears withina n iframe open in a new window is the question.
__________________

Please login or register to view this content. Registration is FREE
- Fansite

Please login or register to view this content. Registration is FREE
- Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
Old 11-27-2004, 08:36 AM
MaD
MaD's Avatar
Average Talker

Posts: 21
Location: North East UK
Trades: 0
I dont think you can do that with it been a inline frame its as if it was another window so the coding would have to be in the page thats in the iframes head or link propities
MaD is offline
Reply With Quote
View Public Profile Visit MaD's homepage!
 
Old 11-27-2004, 09:53 AM
Spud In Disguise's Avatar
Super Spam Talker

Posts: 808
Location: UK... where else?
Trades: 0
Yeah, I was afraid of that. Well thanks anyway.
__________________

Please login or register to view this content. Registration is FREE
- Fansite

Please login or register to view this content. Registration is FREE
- Blog
Spud In Disguise is offline
Reply With Quote
View Public Profile Visit Spud In Disguise's homepage!
 
Reply     « Reply to Open Iframe links in a new page
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22597 seconds with 12 queries