![]() |
|
|
#1 |
|
Rìu Chiến Bạc Chấm
![]() |
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>
__________________
Tong Hua: http://www.vn-zoom.com/f10/tong-hua-15792.html |
|
|
|