Banners Problem

Report bugs found in Poker Mavens
Post Reply
royala10
Posts: 27
Joined: Thu Feb 02, 2012 1:44 am

Banners Problem

Post by royala10 »

1-Successful: I set "Top ad size" to 90 and put this code in the "Top ad HTML", worked perfectly:
<a id="adLinkTop" href="" target="_blank"><img id="adImageTop" border="0" src=""/></a>
<script type="text/javascript">
adDelayTop = 5000; // milliseconds to display each ad
adImagesTop = []
adImagesTop[0] = "http://www.royala10.com/banners/banner_ ... drinks.jpg";
adImagesTop[1] = "http://www.royala10.com/banners/728x90-workout.jpg";
adImagesTop[2] = "http://www.date.com/GetImage.do?id=1034 ... 0000194891";
adLinksTop = []
adLinksTop[0] = "http://472ebf-qfvas6r68h5lznz-q3s.hop.c ... d=7YHP1K1V";
adLinksTop[1] = "http://bdd8ad0ldu8m4tcdsckdm5rdj3.hop.c ... d=7YHP1K1V";
adLinksTop[2] = "http://www.date.com/ShowLogin.do?trackid=000000194891";
AdNumTop = 0;
function nextAdTop()
{
document.getElementById("adImageTop").src = adImagesTop[AdNumTop];
document.getElementById("adLinkTop").href = adLinksTop[AdNumTop];
AdNumTop++;
if (AdNumTop == adImagesTop.length) AdNumTop = 0;
window.setTimeout("nextAdTop()",adDelayTop);
}
nextAdTop();
</script>

2-Failed: I set "Left ad size" to 120, and replaced "Top" to "Left" in the above code and changed banner files, Then put it in "Left ad HTML". It doesn't work:
<a id="adLinkLeft" href="" target="_blank"><img id="adImageLeft" border="0"

src=""/></a>

<script type="text/javascript">
adDelayLeft = 10000; // milliseconds to display each ad
adImagesLeft = []
adImagesLeft[0] = "http://www.royala10.com/banners/barefoot-v.gif";
adImagesLeft[1] = "http://www.royala10.com/banners/workout-v.gif";
adImagesLeft[2] = "http://www.royala10.com/banners/gsniper-v.gif";
adLinksLeft = []
adLinksLeft[0] = "http://a40f7numbpezfk56ebkbsivozt.hop.clickbank.net/?
tid=7YHP1K1V";
adLinksLeft[1] = "http://bdd8ad0ldu8m4tcdsckdm5rdj3.hop.clickbank.net/?
tid=7YHP1K1V";
adLinksLeft[2] = "http://47faehumgo9z9o7dymshhk4k32.hop.clickbank.net/?
tid=7YHP1K1V";
AdNumLeft = 0;
function nextAdLeft()
{
document.getElementById("adImageLeft").src = adImagesLeft[AdNumLeft];
document.getElementById("adLinkLeft").href = adLinksLeft[AdNumLeft];
AdNumLeft++;
if (AdNumLeft == adImagesLeft.length) AdNumLeft = 0;
window.setTimeout("nextAdLeft()",adDelayLeft);
}
nextAdLeft();
</script>

The Top code would work if I use it only in left html, but the other one doesn't. please advise.
royala10
Posts: 27
Joined: Thu Feb 02, 2012 1:44 am

Re: Banners Problem

Post by royala10 »

Ok, sorry :roll:

the problem was in unwanted breaks between links, caused by the editor.
Post Reply