Hiya all,
I need some more help!! Again!
I use banners on my site and for some reason I can not get them to center. This is the script I'm using, what am I doing wrong?
The banner is just showing left all the time?
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var how_many_ads = 6;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
txt="Bid or Sell on Ebay!";
url="http://adfarm.mediaplex.com/ad/ck/710-5232-2978-15?ebay=4";
alt="Click here to learn more";
banner="http://www.qksrv.net/image-1480869-10285634";
width="468";
height="60";
}
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_top\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0>
');
document.write('' + txt + '</a>');
document.write('</center>');
// End -->
</SCRIPT>
I need some more help!! Again!
I use banners on my site and for some reason I can not get them to center. This is the script I'm using, what am I doing wrong?
The banner is just showing left all the time?
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var how_many_ads = 6;
var now = new Date()
var sec = now.getSeconds()
var ad = sec % how_many_ads;
ad +=1;
if (ad==1) {
txt="Bid or Sell on Ebay!";
url="http://adfarm.mediaplex.com/ad/ck/710-5232-2978-15?ebay=4";
alt="Click here to learn more";
banner="http://www.qksrv.net/image-1480869-10285634";
width="468";
height="60";
}
document.write('<center>');
document.write('<a href=\"' + url + '\" target=\"_top\">');
document.write('<img src=\"' + banner + '\" width=')
document.write(width + ' height=' + height + ' ');
document.write('alt=\"' + alt + '\" border=0>
');
document.write('' + txt + '</a>');
document.write('</center>');
// End -->
</SCRIPT>