The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
vB4 Banner Rotator Favourite?
What is your favourite program for banner ads? Flash/JPG/PNG/GIF etc..
What works best for you and why? |
#2
|
|||
|
|||
I am interested in this too. I currently use this code to rotate between two images in a CMS widget on the homepage:
Code:
<script language="JavaScript"> i=0; var ads = new Object(); var header='<CENTER><TABLE CELLPADDING=0 CELLSPACING=1 BORDER=0><TR><TD ' + 'ALIGN=CENTER><FONT SIZE=2 FACE=Arial>'; ads[i++] = header +'</TD><TR></TR><TD><A HREF="(IMAGE TARGET LINK HERE)" TARGET' +'="_top"><CENTER><IMG SRC="(IMAGE URL HERE)" width="XXX" height="XXX" BORDER=0 ALT="(IMAGE ALT TXT HERE)"></CENTER>' +'</A></TD></TR></TABLE></CENTER>'; ads[i++] = header +'</TD><TR></TR><TD><A HREF="(IMAGE TARGET LINK HERE)" TARGET' +'="_top"><CENTER><IMG SRC="(IMAGE URL HERE)" width="XXX" height="XXX" BORDER=0 ALT="(IMAGE ALT TXT HERE)"></CENTER>' +'</A></TD></TR></TABLE></CENTER>'; ads.length = i; dat = new Date(); dat = (dat.getTime()+"").charAt(8); if (dat.length == 1) ad_num = dat%ads.length; else ad_num = 0; document.write(ads[ad_num]); // --> </script> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|