Unstoppable Domains โ€” Expired Auctions

Amazon Ad Rotator?

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
NamecheapNamecheap
Watch
Impact
34
I want to rotate Amazon ads like this;
Code:
<iframe src="http://rcm.amazon.com/e/cm?t=nahavetmadeon-20&o=1&p=8&l=as1&asins=B0006SL93I&fc1=000000&=1&lc1=0000ff&bc1=000000&lt1=_blank&IS2=1&f=ifr&bg1=ffffff&f=ifr" width="120" height="240" scrolling="no" marginwidth="0" marginheight="0" frameborder="0">
</iframe>
I want to rotate, say 20 different ads. I have looked all over the internet but can't find anything :(..

Thanks
Dylan
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable Domains โ€” AI StorefrontUnstoppable Domains โ€” AI Storefront
1.First Of All Put This Script At The Top Of Your HTML Page:

<SCRIPT language="JavaScript">
function adrotatorfn(adno){
switch (adno)
{
case 1:
BANNER.innerHTML = "<A target=_blank href=http://www.syoursite.com><img src=http://www.yoursite.info/Add.gif></A>"; //Change
setTimeout("adrotatorfn(2)", 1500000);
break;
case 2:
BANNER.innerHTML = "<A target=_blank href=community.html><img src=communityban.gif></A>"; //Change
setTimeout("adrotatorfn(3)", 15000);
break;
case 3:
BANNER.innerHTML = "<A target=_blank href=contactus.html><img src=bxchange.gif></A></A>"; //Change
setTimeout("adrotatorfn(4)", 15000);
break;
case 4:
BANNER.innerHTML = "<A target=_blank href=contactus.html><img src=bxchange.gif></A></A>"; //Change
setTimeout("adrotatorfn(5)", 15000);
break;
case 5:
BANNER.innerHTML = "<A target=_blank href=http://www.yoursite.com><img src=http://www.yoursite.com/banner.gif></A>"; //Change
setTimeout("adrotatorfn(1)", 15000);
break;
default:
adrotatorfn(1);
}
}

</SCRIPT>

2.Put This Script In The Table Where U Wnat Thye Banners To Be Displayed:

<!-- Banner exchane area -->
<P>
<DIV id="BANNER" align="center"></DIV>
</P>

<SCRIPT language="javascript"><!--
adrotatorfn(1);
//--></SCRIPT>

and u can keep adding more places after 5 to increase no of banners!
 
0
•••
0
•••
unknownz said:
1.First Of All Put This Script At The Top Of Your HTML Page:

<SCRIPT language="JavaScript">
function adrotatorfn(adno){
switch (adno)
{
case 1:
BANNER.innerHTML = "<A target=_blank href=http://www.syoursite.com><img src=http://www.yoursite.info/Add.gif></A>"; //Change
setTimeout("adrotatorfn(2)", 1500000);
break;
case 2:
BANNER.innerHTML = "<A target=_blank href=community.html><img src=communityban.gif></A>"; //Change
setTimeout("adrotatorfn(3)", 15000);
break;
case 3:
BANNER.innerHTML = "<A target=_blank href=contactus.html><img src=bxchange.gif></A></A>"; //Change
setTimeout("adrotatorfn(4)", 15000);
break;
case 4:
BANNER.innerHTML = "<A target=_blank href=contactus.html><img src=bxchange.gif></A></A>"; //Change
setTimeout("adrotatorfn(5)", 15000);
break;
case 5:
BANNER.innerHTML = "<A target=_blank href=http://www.yoursite.com><img src=http://www.yoursite.com/banner.gif></A>"; //Change
setTimeout("adrotatorfn(1)", 15000);
break;
default:
adrotatorfn(1);
}
}

</SCRIPT>

2.Put This Script In The Table Where U Wnat Thye Banners To Be Displayed:

<!-- Banner exchane area -->
<P>
<DIV id="BANNER" align="center"></DIV>
</P>

<SCRIPT language="javascript"><!--
adrotatorfn(1);
//--></SCRIPT>

and u can keep adding more places after 5 to increase no of banners!

I want to add this to a php page, will it work?

Thanks
Dylan
 
0
•••
Truehost โ€” .com domains from $4.99, hosting includedTruehost โ€” .com domains from $4.99, hosting included
Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back