How to set up the banner jumbles?

View previous topic View next topic Go down

Solved How to set up the banner jumbles?

Post by Ashera on Tue Sep 21, 2010 1:33 pm

Same question as the table ad, but banner jumble this time.
avatar
Ashera
Package Team
Package Team

Female
Age : 30
Posts : 305
AH Cash : 780
Rep : 3
Join date : 2010-06-28
Location : Sylvarant

View user profile http://foodandmore.freeforums.org/index.php

Back to top Go down

Solved Re: How to set up the banner jumbles?

Post by The-Dragon-Man on Tue Sep 21, 2010 1:36 pm

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>


avatar
The-Dragon-Man
Administrator
Administrator

Male
Age : 37
Posts : 3588
AH Cash : 6954
Rep : 18
Join date : 2010-03-29
Location : Glasgow Scotland

View user profile http://www.themovieforum.co.uk

Back to top Go down

Solved Re: How to set up the banner jumbles?

Post by Ashera on Tue Sep 21, 2010 1:40 pm

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.
avatar
Ashera
Package Team
Package Team

Female
Age : 30
Posts : 305
AH Cash : 780
Rep : 3
Join date : 2010-06-28
Location : Sylvarant

View user profile http://foodandmore.freeforums.org/index.php

Back to top Go down

Solved Re: How to set up the banner jumbles?

Post by The-Dragon-Man on Tue Sep 21, 2010 1:58 pm

Hmm that is the original code that i use here Wink but i've done that already


avatar
The-Dragon-Man
Administrator
Administrator

Male
Age : 37
Posts : 3588
AH Cash : 6954
Rep : 18
Join date : 2010-03-29
Location : Glasgow Scotland

View user profile http://www.themovieforum.co.uk

Back to top Go down

Solved Re: How to set up the banner jumbles?

Post by Ashera on Tue Sep 21, 2010 1:59 pm

Yeah, but it enlarges the forum and makes it look ugly.
avatar
Ashera
Package Team
Package Team

Female
Age : 30
Posts : 305
AH Cash : 780
Rep : 3
Join date : 2010-06-28
Location : Sylvarant

View user profile http://foodandmore.freeforums.org/index.php

Back to top Go down

Solved Re: How to set up the banner jumbles?

Post by The-Dragon-Man on Tue Sep 21, 2010 2:07 pm

fixed now


avatar
The-Dragon-Man
Administrator
Administrator

Male
Age : 37
Posts : 3588
AH Cash : 6954
Rep : 18
Join date : 2010-03-29
Location : Glasgow Scotland

View user profile http://www.themovieforum.co.uk

Back to top Go down

Solved Re: How to set up the banner jumbles?

Post by Ashera on Tue Sep 21, 2010 2:08 pm

Thanks a lot, Maki.
avatar
Ashera
Package Team
Package Team

Female
Age : 30
Posts : 305
AH Cash : 780
Rep : 3
Join date : 2010-06-28
Location : Sylvarant

View user profile http://foodandmore.freeforums.org/index.php

Back to top Go down

Solved Re: How to set up the banner jumbles?

Post by The-Dragon-Man on Tue Sep 21, 2010 2:13 pm

No problem

Solved => Locked


avatar
The-Dragon-Man
Administrator
Administrator

Male
Age : 37
Posts : 3588
AH Cash : 6954
Rep : 18
Join date : 2010-03-29
Location : Glasgow Scotland

View user profile http://www.themovieforum.co.uk

Back to top Go down

Solved Re: How to set up the banner jumbles?

Post by The-Dragon-Man on Tue Sep 21, 2010 2:20 pm

Moved to Help & Support


avatar
The-Dragon-Man
Administrator
Administrator

Male
Age : 37
Posts : 3588
AH Cash : 6954
Rep : 18
Join date : 2010-03-29
Location : Glasgow Scotland

View user profile http://www.themovieforum.co.uk

Back to top Go down

Solved Re: How to set up the banner jumbles?

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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