Web Hosting UK - Leader in Web Hosting and Domain Names





Reply
 Open iFrame Banner/Widgets in a New Window
templates4all
7 March 2009 11:53
Message #1


Active participant
  • 51

Reputation: - 0 +
Group: Administrator
Posts: 114
ICQ:--
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:

<1=_new


example:

Original code:

<iframe
src="http://rcm.amazon.com/e/cm?t=yourAssociatesID&o=1&p=13&am
p;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 <1=_new added:

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


Happy Browsing ;)
Back to top



Quick response Replay
1Pers. read this topic (guests: 1)
Users: 0

  Now: 22 May 2012 06:53

RSS Feed Twitter Facebook Digg Stumbleupon Favorites! More!



You Too, Join Our : Template4all