Forum Rescue
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Banner jumble extra slots

2 posters

Go down

Solved Banner jumble extra slots

Post by BlueSky Thu Apr 22, 2010 9:52 pm

hi guys,

the correct code I have I only can put 2 banner so I would like to put 5 banners on the banner jumble is that possible to do cuz I really need that.
BlueSky
BlueSky
Moderator

Warning Bar : 5/5
Posts : 142
Join date : 2010-03-30
Location : Albania
FR Credits : 178

Back to top Go down

Solved Re: Banner jumble extra slots

Post by Martin Fri Apr 23, 2010 12:52 am

just copy part of the code and readd it
Martin
Martin
Admin

Warning Bar : 5/5
Posts : 153
Join date : 2010-03-30
FR Credits : 95

Back to top Go down

Solved Re: Banner jumble extra slots

Post by BlueSky Fri Apr 23, 2010 3:36 am

Hello, Idk witch part to copy so here is my original code so if you could do it I would love that Smile

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://i48.tinypic.com/2wm2jnm.jpg'
theImages[1] = 'http://i43.tinypic.com/1h88bl.png'
theImages[2] = 'http://i48.tinypic.com/2wm2jnm.jpg'
theImages[3] = 'http://i43.tinypic.com/1h88bl.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://pkerscape1.darkbb.com/portal.htm"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
}
else if(whichImage==1){
document.write('<a href ="http://cod-forums.forumotion.com"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
}
else if(whichImage==2){
document.write('<a href ="http://pkerscape1.darkbb.com/portal.htm"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
}
else if(whichImage==3){
document.write('<a href ="http://cod-forums.forumotion.com"><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></div>



 <div id="myfooter" style="height: 40px;  position: fixed;
        width: 800px;
      top: auto;
        right: 0;
margin: 0 auto;
        bottom: 0;
        left: 0;" >

<p align="center">

<a href="http://pkerscape1.darkbb.com/portal.htm"><img src="http://i48.tinypic.com/1zr0sjm.gif" title="pop up title of page" border="0"></a>
<a href="link to second forum page or social site"><img src="URL of 2 icon" title="pop up title of page 2" border="0"></a>

</p></form></div></p></div>

I need it as soon as possible bounce
BlueSky
BlueSky
Moderator

Warning Bar : 5/5
Posts : 142
Join date : 2010-03-30
Location : Albania
FR Credits : 178

Back to top Go down

Solved Re: Banner jumble extra slots

Post by Martin Sat Apr 24, 2010 12:04 am

Banner Jumble

var theImages = new Array()

//Random-loading images
theImages[0] = 'https://2img.net/h/oi48.tinypic.com/2wm2jnm.jpg'
theImages[1] = 'https://2img.net/h/oi43.tinypic.com/1h88bl.png'
theImages[2] = 'https://2img.net/h/oi48.tinypic.com/2wm2jnm.jpg'
theImages[3] = 'https://2img.net/h/oi43.tinypic.com/1h88bl.png'
theImages[4] =
theImages[5] =
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('');
}
else if(whichImage==1){
document.write('');
}
else if(whichImage==2){
document.write('');
}
else if(whichImage==3){
document.write('');
}
else if(whichImage==4){
document.write('');
}
else if(whichImage==5){
document.write('');
}




showImage();











Martin
Martin
Admin

Warning Bar : 5/5
Posts : 153
Join date : 2010-03-30
FR Credits : 95

Back to top Go down

Solved Re: Banner jumble extra slots

Post by Martin Thu May 13, 2010 4:21 am

solved?
Martin
Martin
Admin

Warning Bar : 5/5
Posts : 153
Join date : 2010-03-30
FR Credits : 95

Back to top Go down

Solved Re: Banner jumble extra slots

Post by BlueSky Sat May 15, 2010 9:49 am

Yes its solved Smile
BlueSky
BlueSky
Moderator

Warning Bar : 5/5
Posts : 142
Join date : 2010-03-30
Location : Albania
FR Credits : 178

Back to top Go down

Solved Re: Banner jumble extra slots

Post by Martin Sat May 15, 2010 7:30 pm

Locked
Martin
Martin
Admin

Warning Bar : 5/5
Posts : 153
Join date : 2010-03-30
FR Credits : 95

Back to top Go down

Solved Re: Banner jumble extra slots

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum