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

banner jumble code?

4 posters

Go down

Solved banner jumble code?

Post by Pikapal 2010-07-30, 07:13

I'm gonna edit the template of my bakugan website so that it randomly switches between to banners... could someone please add the 2 banners in the code?

banners link to: http://bakuganinterspace.darkbb.com/forum.htm

and here are the banners:
banner jumble code? Logooo10
Code:
http://i36.servimg.com/u/f36/14/66/51/56/logooo10.png

banner jumble code? Logooo11
Code:
http://i36.servimg.com/u/f36/14/66/51/56/logooo11.png
Pikapal
Pikapal
The Pikachu Master
The Pikachu Master

banner jumble code? Full10
       Male
       3588
       959
       19
       2010-01-30
       28
       not here

Back to top Go down

Solved Re: banner jumble code?

Post by Bob 2010-07-30, 10:53

Can it be php?
Bob
Bob
Always Advertising
Always Advertising

banner jumble code? Full10
       Male
       1323
       34
       10
       2010-06-08
       United States

http://forum.admin-community.co.cc

Back to top Go down

Solved Re: banner jumble code?

Post by Pikapal 2010-07-30, 13:29

I need the code used here to be honest =/ but with the images i posted
Pikapal
Pikapal
The Pikachu Master
The Pikachu Master

banner jumble code? Full10
       Male
       3588
       959
       19
       2010-01-30
       28
       not here

Back to top Go down

Solved Re: banner jumble code?

Post by Joel 2010-07-30, 17:14

Frosverup, here you go.

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://i36.servimg.com/u/f36/14/66/51/56/logooo10.png'
theImages[1] = 'http://i36.servimg.com/u/f36/14/66/51/56/logooo11.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://bakuganinterspace.darkbb.com/forum.htm"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
}
else if(whichImage==1){
document.write('<a href ="http://bakuganinterspace.darkbb.com/forum.htmm"><img src="'+theImages[whichImage]+'" border=0 width=452 height=181></a>');
}

}

</script>


<script>showImage();</script></div>
Joel
Joel
Founder
Founder

banner jumble code? Full10
       Male
       11220
       15338
       73
       2009-12-16
       27
       Singapore

Back to top Go down

Solved Re: banner jumble code?

Post by Pikapal 2010-07-30, 17:58

awesome! thanks. it worked right



took some testing and I had to change a few more codes then I planned but it all worked out ^.^
Pikapal
Pikapal
The Pikachu Master
The Pikachu Master

banner jumble code? Full10
       Male
       3588
       959
       19
       2010-01-30
       28
       not here

Back to top Go down

Solved Re: banner jumble code?

Post by zoids25 2010-07-30, 22:44

Solved => Locked
zoids25
zoids25
VIP Member
VIP Member

banner jumble code? Full10
       Male
       1041
       1053
       5
       2010-02-21

http://www.webartzforum.com/forum.htm

Back to top Go down

Solved Re: banner jumble code?

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