The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I want to use a rotating logo for *some* of the styles on my forums, but not all of them. This has nothing to do with advertising banners, just the main logo at the top of the page.
Is anyone familiar with a mod that will work to do that with 4.0.x? --------------- Added [DATE]1267552025[/DATE] at [TIME]1267552025[/TIME] --------------- Someone posted this on vbulletin.com, could i use this to make it work for a specific style? Code:
<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="path/to/source" target='_blank'> <img src="path/to/image.gif" border='0'></a></div>"; images[1] = "<div align='center'><a href="path/to/source" target='_blank'> <img src="path/to/image.gif" border='0'></a></div>"; images[2] = "<div align='center'><a href="path/to/source" target='_blank'> <img src="path/to/image.gif" border='0'></a></div>"; images[3] = "<div align='center'><a href="path/to/source" target='_blank'> <img src="path/to/image.gif" border='0'></a></div>"; images[4] = "<div align='center'><a href="path/to/source" target='_blank'> <img src="path/to/image.gif" border='0'></a></div>"; index = Math.floor(Math.random() * images.length); document.write(images[index]); //done // --></script> </BODY> </HTML> maybe this isn't the right forum? should it be in the coding? (can someone move it?) ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|