How to set up the banner jumbles?
2 posters
Page 1 of 1
Re: How to set up the banner jumbles?
A-CP => Display => Homepage => and click on Generalities put the code on the Homepage message and save
- Code:
<b>Banner Jumble</b><div style="margin: auto; text-align: center; width: 100%;"><script language="JavaScript">
var theImages = new Array()
//Random-loading images
theImages[0] = 'http://foodandmore.freeforums.org/download/file.php?logo=__foodandmoregreentext.jpg'
theImages[1] = 'http://i32.servimg.com/u/f32/15/32/56/85/code_m11.png'
theImages[2] = 'http://i34.servimg.com/u/f34/15/04/48/59/ah-ban10.png'
theImages[3] = 'http://i62.servimg.com/u/f62/14/52/65/41/ahb10.png'
theImages[4] = 'http://i34.servimg.com/u/f34/15/04/48/59/ah-ban10.png'
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(){
if(whichImage==0){
document.write('<a href ="http://foodandmore.freeforums.org/index.php"><img src="'+theImages[whichImage]+'" border=0 width=468 height=100></a>');
}
else if(whichImage==1){
document.write('<a href ="http://codemakers.forumakers.com"><img src="'+theImages[whichImage]+'" border=0 width=468 height=100></a>');
}
else if(whichImage==2){
document.write('<a href ="http://www.advertisehighway.com/"><img src="'+theImages[whichImage]+'" border=0 width=468 height=100></a>');
}
else if(whichImage==3){
document.write('<a href ="http://www.advertisehighway.com/"><img src="'+theImages[whichImage]+'" border=0 width=468 height=100></a>');
}
else if(whichImage==4){
document.write('<a href ="http://www.advertisehighway.com/"><img src="'+theImages[whichImage]+'" border=0 width=468 height=100></a>');
}
}
</script>
Re: How to set up the banner jumbles?
Hey maki, it enlarged my forum. How to change the banner image to the members' link and banner? Can you give me the general code, please thank you, not an example.
Re: How to set up the banner jumbles?
Hmm that is the original code that i use here but i've done that already
Similar topics
» How to set up table ads/banner jumbles on forumotion?
» Banner Add
» banner! Please oh please!
» Advertise It Banner
» Banner Request
» Banner Add
» banner! Please oh please!
» Advertise It Banner
» Banner Request
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|