The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to add this script

View previous topic View next topic Go down

How to add this script

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

<script type="text/javascript">
//<![CDATA[
logoPics=[];l=0
logoPics[l++]=["https://i68.servimg.com/u/f68/15/98/66/17/web-re18.png","<center>","</center>"];
logoPics[l++]=["https://i68.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
Forumember

Male Posts : 107
Reputation : 0
Language : Pivetor

http://ZombieDiscussion.com

Back to top Go down

Re: How to add this script

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

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

Pivetor
Forumember

Male Posts : 107
Reputation : 0
Language : Pivetor

http://ZombieDiscussion.com

Back to top Go down

Re: How to add this script

Post by Nera. on 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.
Energetic

Female Posts : 7077
Reputation : 2013
Language : English
Location : -

http://webartzforum.com

Back to top Go down

Re: How to add this script

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

@Pivetor wrote:
//logoPics=[];l=0
logoPics[l++]=["https://i68.servimg.com/u/f68/15/98/66/17/web-re18.png","",""];
logoPics[l++]=["https://i68.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
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

View previous topic View next topic Back to top


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