How to add this script
3 posters
Page 1 of 1
How to add this script
<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.
//<![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.
Re: How to add this script
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
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
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: How to add this script
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
Similar topics
» embed Script code in forum? (<script </script>)
» [JAVA script]How to set a countdown script to forum/portal?
» where to put this script?..
» banner changing?
» How to Add a PHP script to "the root of my forum script" ?
» [JAVA script]How to set a countdown script to forum/portal?
» where to put this script?..
» banner changing?
» How to Add a PHP script to "the root of my forum script" ?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum