The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
Rotating Ad Widget???? Can't get it to work
I've used the below code in the Header Banners and works perfect. I created several types of widgets for a side ad and could not get this code to work.
Please help, what am I doing wrong, why won't it work? ===================================== <HTML><HEAD> <TITLE>Rotating banners with links</TITLE> <script type="text/javascript"><!-- //Javascript Created by Computerhope http://www.computerhope.com //store the quotations in arrays images = new Array(5); images[0] = "<div align='center'><a href="http://www.flightsimulatorcenter.com" target='_blank'> <img src="http://www.mycockpit.org/advertising/FSC/FSC-SideBanner-2.gif" border='0'></a></div>"; images[1] = "<div align='center'> <a href="http://737yoke.com" target='_blank'><img src="http://www.mycockpit.org/advertising/ACE/ACEsidebanner-1.jpg" border='0' ></a> </div>"; images[2] = "<div align='center'><a href="http://www.opencockpits.com" target='_blank'> <img src=" http://www.mycockpit.org/advertising/Opencockpits/OpencockpitsSidbar.jpg" border='0'></a></div>"; images[3] = "<div align='center'><a href="http://www.flightsimulatorcenter.com" target='_blank'> <img src="http://www.mycockpit.org/advertising/FSC/FSC-SideBanner-2.gif" border='0'></a></div>"; images[4] = "<div align='center'><a href="http://www.simvionics.co.uk" target='_blank'> <img src=" http://www.mycockpit.org/advertising/SimVionics/SimVionicsSidebanner.jpg" border='0'></a></div>"; index = Math.floor(Math.random() * images.length); document.write(images[index]); //done // --></script> </BODY> </HTML> ======================================== |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|