Banner question
2 posters
Page 1 of 1
Banner question
How do you make the banner jumbel link to a forum/site??
Martin- Admin
- Warning Bar :
Posts : 153
Join date : 2010-03-30
FR Credits : 95
Re: Banner question
like the one on www.advertisehotspot.com
Martin- Admin
- Warning Bar :
Posts : 153
Join date : 2010-03-30
FR Credits : 95
Re: Banner question
just edit accordingly.
- Code:
<script LANGUAGE="Javascript">
var theImages = new
Array()
//Random-loading images
theImages[0] = 'IMAGE URL 1'
theImages[1]
= 'IMAGE URL 2'
theImages[2] = 'IMAGE URL 3'
theImages[3] =
'IMAGE URL 4'
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 ="link.html"><img src="'+theImages[whichImage]+'" border=0
width=452 height=181></a>');
}
else if(whichImage==1){
document.write('<a
href ="link.html"><img src="'+theImages[whichImage]+'" border=0
width=452 height=181></a>');
}
else if(whichImage==2){
document.write('<a
href ="link.html"><img src="'+theImages[whichImage]+'" border=0
width=452 height=181></a>');
}
else if(whichImage==3){
document.write('<a
href ="link.html"><img src="'+theImages[whichImage]+'" border=0
width=452 height=181></a>');
}
else if(whichImage==4){
document.write('<a
href ="link.html"><img src="'+theImages[whichImage]+'" border=0
width=452 height=181></a>');
}
}
</script>
<script>showImage();</script>
Re: Banner question
I know that. Will you do it on advertise hotspot if i give you the admin position for now. I want the advertisehotspot, forum resque and gamerztalk ones on if you dont mind
Martin- Admin
- Warning Bar :
Posts : 153
Join date : 2010-03-30
FR Credits : 95
Re: Banner question
martin2201 wrote:I know that. Will you do it on advertise hotspot if i give you the admin position for now. I want the advertisehotspot, forum resque and gamerztalk ones on if you dont mind
i cant understand you. A clearer explanation please.
Re: Banner question
You know the code you gave me for the banner jumblem like on advertise hotspot. Well can you do one for me with the following banners on:
Advertise Hotspot
Forum rescue
Gamerztalk
Can i have them to link to the forums aswell
Advertise Hotspot
Forum rescue
Gamerztalk
Can i have them to link to the forums aswell
Martin- Admin
- Warning Bar :
Posts : 153
Join date : 2010-03-30
FR Credits : 95
Re: Banner question
- Code:
<script LANGUAGE="Javascript">
var theImages = new Array()
//Random-loading images
theImages[0] = 'http://i63.servimg.com/u/f63/14/93/94/77/i2594510.png'
theImages[1] = 'http://i162.photobucket.com/albums/t254/green-cow/req/easter_adv_hot.png'
theImages[2] = 'http://i162.photobucket.com/albums/t254/green-cow/req/forum_rescue_banner.png'
theImages[3] = 'IMAGE URL 4'
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://gamerztalk.forumotion.com/forum.htm"><img src="'+theImages[0]+'" border=0 width=452 height=181></a>');
}
else if(whichImage==1){
document.write('<a href ="http://www.advertisehotspot.com/forum.htm"><img src="'+theImages[1]+'" border=0 width=452 height=181></a>');
}
else if(whichImage==2){
document.write('<a href ="http://forumrescue.forumotion.com/"><img src="'+theImages[2]+'" border=0 width=452 height=181></a>');
}
else if(whichImage==3){
document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
}
else if(whichImage==4){
document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
}
}
</script>
<script>showImage();</script>
Re: Banner question
Thanks joel!
Martin- Admin
- Warning Bar :
Posts : 153
Join date : 2010-03-30
FR Credits : 95
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|