How to Open iFrame Banner/Widgets in a New Window

How to Open iFrame Banner/Widgets in a New Window

All of you might be familiar with opening HTML text links in a new window using “_blank” attribute. But it does not work in iFrame widgets(Eg:Amazon Shopping Search Widget) or banners.

Opening iFrame links in new window is also very easy like HTML text links! Just add the following code to the end of the iFrame link code:

&lt1=_new

Here is an example:

Original code:

<iframe
src="http://rcm.amazon.com/e/cm?t=yourAssociatesID&o=1&p=13&l=ur1&category=holiday&banner=0JZA98M0RH2G176441R2&f=ifr"
width="468" height="60" scrolling="no" border="0" style="border:none;"
frameborder="0"> </iframe>

The same code with &lt1=_new added:

<iframe
src="http://rcm.amazon.com/e/cm?t=yourAssociatesID&o=1&p=13&l=ur1&category=holiday&banner=0JZA98M0RH2G176441R2&f=ifr&lt1=_new"
width="468" height="60" scrolling="no" border="0" style="border:none;"
frameborder="0"> </iframe></div>

Hope you got it! Have a Great browsing!

You Might Also Like:






Article by Shafar.
Author: Owner and Admin of TipsBlogger.
To submit your guest posts here, please read the Guidelines and Benefits.
Get Updates via: Twitter | RSS Feed | Email

11 Responses to “How to Open iFrame Banner/Widgets in a New Window”

  1. my iframe is taking over the whole page like a redirect help?!http://www.techforless.com/cgi-bin/tech4less/n?C=AL.AL&mv_pc=AID=098810 http://toprated-pc-laptop-computers.blogspot.com/

  2. Anonymous says:

    Thank you!! Very useful.

  3. cconniejean says:

    Worked perfect! Thank You.

  4. akutria2 says:

    it’s nice to open it!

  5. Anonymous says:

    Looks like this hint and sample code is copied from this URLhttp://forums.prosperotechnologies.com/am-associhelp/messages?msg=25508.10Thanks

  6. Shafar says:

    @Anonymous!Great observation! But i didn’t copied that ‘SAMPLE CODE’ from the URL you provided here! I got this tips through the email when I contacted Amazon Associates Support team for the help. I’m here to blog every tips and tricks I know, and I’ll share those tips to my readers!Keep in Tocuh Mr.Anonymous!

  7. Natalia says:

    didn’t work for me. the page in my iframe is not mine and added the code and says url not found :( my site is http://www.geocities.com/n.monterov

  8. Anonymous says:

    you are lifesaver….thanks so much

  9. Softpump says:

    can u plz tell how to put iframe above the site header like a top banner and also scrolls……..

  10. Shafar says:

    @SoftpumpYou can add iframe BANNERS or WIDGETS above your site header, but I think you cannot add the HTML iframes to blogger blogs.

  11. OnlineShoppingWorld provides the best featured Products exclusively for – consumer electronics, mobile electronics, laptop computers, computer software, computer hardware, computer parts, computer accessories, computer components, computer drives, computer upgrades, computer cases, storage drives, mp3 players, dvd drive, processor, video card, sound card, printers, scanners, USB drives, digital cameras, televisions, home theater, home appliances, Mobiles, BlackBerry Mobiles.

Leave a Reply