|
Random Logo in Header
This modification is in the archives.
What it does...
Exactly what the title says. It's very similar to my 3.5 edit. In the header template.... PLACE THIS AT THE VERY TOP OF THE HEADER TEMPLATE Code:
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin Random Logo In Header Script
var theImages = new Array() // do not change this
<!-- Edit the url images to match yours
theImages[0] = 'images/statusicon/forum_old.gif'
theImages[1] = 'images/statusicon/forum_new.gif'
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<td align="$stylevar[left]"><a href="index.php"><img src="'+theImages[whichImage]+'" border="0" alt="$vboptions[bbtitle]" /></a></div>');
}
// End -->
</script>
Find: Code:
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> Code:
<SCRIPT LANGUAGE="JavaScript"> showImage(); </script> Like it? Use it? ![]() Download No files for download. |
|||||||||
Similar Mods
| Major Additions vBFlash Header (Lite) - Alternative to default vBulletin logo/header | vBulletin 3.6 Add-ons |
| Random Logo in Header | vBulletin 3.5 Template Modifications |