The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
I've asked this question in an other way, but thought I would try again differently. You HELP is appreciated.
My rotating banner code works fantastic within the advertising box. But when I use the same code within a widget (static HTML) or Forum Block (HTML), I get nothing. Why does it work in the advertising box, but not in a Widget or Forum Block. This is an example of the code and it works in the advertising blocks: <HTML><HEAD> <TITLE>Rotating banners with links</TITLE> <script type="text/javascript"><!-- //Javascript //store the quotations in arrays images = new Array(2); images[0] = "<div align='center'><a href='http://www.flyengravity.com'target='_blank'><img src='http://www.mycockpit.org/advertising/FLYengravity/FlyEngravity-r.png' border='0' alt='' /></a></div>"; images[1] = "<div align='center'><a href='http://www.cockpitsonicusa.com' target='_blank'><img src='http://www.mycockpit.org/advertising/CockpitsonicUSA/CockpitsonicUSA-r.png' border='0' alt='' /></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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|