The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to add this script

3 posters

Go down

How to add this script Empty How to add this script

Post by Pivetor March 20th 2011, 9:06 pm

<script type="text/javascript">
//<![CDATA[
logoPics=[];l=0
logoPics[l++]=["https://i.servimg.com/u/f68/15/98/66/17/web-re18.png","<center>","</center>"];
logoPics[l++]=["https://i.servimg.com/u/f68/16/28/69/36/advert15.png","",""];
var place=Math.floor(Math.random()*logoPics.length);
$("#logo").html(logoPics[place][1]+"<img src='"+logoPics[place][0]+"'/>"+logoPics[place][2]);
//]]>
</script>

Is a random image generator, i want to replace it with my banner i currently have. it will be my main picture, what it does it every refresh it changes between them. Could some one tell me how to install it, i tried homepage message.
Pivetor
Pivetor
Forumember

Male Posts : 107
Reputation : 0
Language : Pivetor

http://ZombieDiscussion.com

Back to top Go down

How to add this script Empty Re: How to add this script

Post by Pivetor March 21st 2011, 4:27 pm

it does not help, i need it as my banner.
Pivetor
Pivetor
Forumember

Male Posts : 107
Reputation : 0
Language : Pivetor

http://ZombieDiscussion.com

Back to top Go down

How to add this script Empty Re: How to add this script

Post by Nera. March 21st 2011, 4:38 pm

I don't know your way but there's one if helps. Go to http://www.randimg.net/
Upload pictures you want to change on your header, make your pile by grabing them and pulling them in the pile box below.
Then just take your pile link and insert it in
Display >> picture managment >> advanced mode >> Forum main logo :

Or for punBB in
Code:
#pun.intro


Last edited by Nera. on March 21st 2011, 5:36 pm; edited 1 time in total
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

How to add this script Empty Re: How to add this script

Post by Ezio March 21st 2011, 5:00 pm

Pivetor wrote:
//logoPics=[];l=0
logoPics[l++]=["https://i.servimg.com/u/f68/15/98/66/17/web-re18.png","",""];
logoPics[l++]=["https://i.servimg.com/u/f68/16/28/69/36/advert15.png","",""];
var place=Math.floor(Math.random()*logoPics.length);
$("#logo").html(logoPics[place][1]+"[img]"+logoPics[place][0]+"[/img]"+logoPics[place][2]);
//]]>


Is a random image generator, i want to replace it with my banner i currently have. it will be my main picture, what it does it every refresh it changes between them. Could some one tell me how to install it, i tried homepage message.

Maybe it can be place in widgets, or overall_Header (in templates) Just try it, hehehehehe Very Happy
Ezio
Ezio
Forumember

Male Posts : 155
Reputation : 10
Language : Bahasa. Indonesia
Location : Request change my Age, I'm 13-14 years old.. :D

http://www.forumbargedoz.ce.ms

Back to top Go down

Back to top

- Similar topics

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