Web Wiz
Home
Home
Hosting Services
Hosting Services
Knowledgebase
Knowledgebase
Community and Support Forums
Support Forums
Customer Login
Customer Login

  New Posts New Posts RSS Feed - Using _blank with iframe
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Web Wiz Web Hosting 30 Day Free Trial

Windows Hosting 30 Day Free Trial, with no obligation, on all our Windows Web and Reseller Hosting Packages.

For moreĀ informationĀ see our Windows Hosting 30 Day Free Trial page.

Using _blank with iframe

 Post Reply Post Reply Page  12>
Author
PrettyNormalGirl View Drop Down
Newbie
Newbie
Avatar

Joined: 25 July 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote PrettyNormalGirl Quote  Post ReplyReply Direct Link To This Post Topic: Using _blank with iframe
    Posted: 26 July 2008 at 11:31am
I am using iframe to display an ad on my homepage.
I don't want this ad's site to open up in the same window than my homepage, it should open in it's own new tab.

So where in my code do I put the target = "_blank"?

My code for the iframe is:
 <td width="120" height="152" align="center" valign="middle"><iframe src="http://rcm.amazon.com/e/cm?t=httpwwwpnskry-20&amp;o=1&amp;p=6&amp;l=bn1&amp;mode=books&amp;browse=17&amp;fc1=000000&amp;lt1=&amp;lc1=3366FF&amp;bg1=FFFFFF&amp;f=ifr" marginwidth="0" marginheight="0" width="120" height="150" border="0" frameborder="0" style="border:none;" scrolling="No"></iframe></td>

Please could somebody help me?


Edited by PrettyNormalGirl - 26 July 2008 at 11:35am
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1543
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 26 July 2008 at 2:44pm
you cant, its down to the page inside the iframe - which you do not have access to.

Though i am sure amazon let you choose this when you create the code for the advert
S2H.co.uk - WebWiz Mods and Skins
For support on my mods + skins, please use my forum.
Back to Top
PrettyNormalGirl View Drop Down
Newbie
Newbie
Avatar

Joined: 25 July 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote PrettyNormalGirl Quote  Post ReplyReply Direct Link To This Post Posted: 26 July 2008 at 3:25pm
Thanks for replying, Scot.
I am sure that was Amazon's intention, not very nice, hey?

Ok, so what to do?
Choose another similar add that doesn't use iframe?
Back to Top
MrTWS View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrTWS Quote  Post ReplyReply Direct Link To This Post Posted: 26 July 2008 at 3:50pm
Maybe this page may help you with the problem

I would tend not to have iframes on the forum even though I understand that you want to earn some money from your links
Back to Top
PrettyNormalGirl View Drop Down
Newbie
Newbie
Avatar

Joined: 25 July 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote PrettyNormalGirl Quote  Post ReplyReply Direct Link To This Post Posted: 26 July 2008 at 4:47pm
Thanks MrTWS, I tried that and it works very nicely, except that my image is now not dynamic anymore. I have selected The Shack as image and link and thus this is now the same all the time.

My previous link had the books changing all the time.
Back to Top
MrTWS View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote MrTWS Quote  Post ReplyReply Direct Link To This Post Posted: 26 July 2008 at 6:41pm
Ummmmmm - let me think and I'll come back on that
Why not PM me your forum address as that always helps Thumbs%20Up to sort out problems
Back to Top
PrettyNormalGirl View Drop Down
Newbie
Newbie
Avatar

Joined: 25 July 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote PrettyNormalGirl Quote  Post ReplyReply Direct Link To This Post Posted: 26 July 2008 at 8:15pm
Sorry, MrTWS, what do you mean by forum address?
This forum?
Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1543
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 26 July 2008 at 11:24pm
as i said, look at the Amazons Affiliates center.

When you create the advert banner code, they should give you an option to open in a new window or not. If they dont then there is nothing you can do, because you do not have access to Amazons page inside the frame.
S2H.co.uk - WebWiz Mods and Skins
For support on my mods + skins, please use my forum.
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down



Become a Fan on Facebook Follow us on Twitter Web Wiz on Google+ Community Forums Web Wiz Blogs Web Wiz News
Company Information | Contact Web Wiz | Terms & Conditions | Privacy Policy

Prices exclude VAT unless otherwise stated - $, € prices shown as a guideline only
Web Wiz Ltd, Unit 10E Dawkins Road Ind. Est, Poole, Dorset, UK, BH15 4JD
Copyright ©2001-2012 Web Wiz - All rights reserved