random image script for the banner
3 posters
Page 1 of 1
random image script for the banner
can it be done????
If so can you please post the script...
i wan to have a random image everytime a member refreshes the page
thx
If so can you please post the script...
i wan to have a random image everytime a member refreshes the page
thx
Jalokim- Energetic
- Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland
Re: random image script for the banner
sorry for double posting but
Now where must i put it??? to replace the banner and get a random script???
CSS or where... i have even tried other meta tags but i don't know how to change it to change the banner script
please help
- Code:
<br><script language="JavaScript"><!--
//Javascript Created by Jalokim http://anime7.org
//store the quotations in arrays
images = new Array(5);
images[0] = "<a href = 'your site address'><img src='1 banner image'></a>";
images[1] = "<a href = 'your site address'><img src='2nd banner image'></a>";
images[2] = "<a href = 'your site address'><img src='3 banner image'></a>";
images[3] = "<a href = 'your site address'><img src='4 banner image'></a>";
images[4] = "<a href = 'your site address'><img src='5 banner image'></a>";
index = Math.floor(Math.random() * images.length);
document.write(images[index]);
//done
// --></script><br>
Now where must i put it??? to replace the banner and get a random script???
CSS or where... i have even tried other meta tags but i don't know how to change it to change the banner script
please help
Jalokim- Energetic
- Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland
Re: random image script for the banner
You will have to put it in the site description, but you have to use the script generator found in the Scripts and Tips forum as the code is too long
Guest- Guest
Re: random image script for the banner
thx
odd i thought admins where to answer problems... i try now and report with a full tutorial
i don't know why but it doesn't work... i paste the javascript into the generator under the freefield bar ... it generates soe one lined code that does not work. maybe because i bought the domain name???
help please
odd i thought admins where to answer problems... i try now and report with a full tutorial
i don't know why but it doesn't work... i paste the javascript into the generator under the freefield bar ... it generates soe one lined code that does not work. maybe because i bought the domain name???
help please
Jalokim- Energetic
- Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland
Re: random image script for the banner
Jalokim wrote:odd i thought admins where to answer problems...
Please void comments like this, if yu really want to, my P.M box is open >.>
Caihlem- Energetic
- Posts : 8969
Reputation : 342
Language : English, French & Female
Location : You can't fly like the phenix
Re: random image script for the banner
Hey Jalokim, you saying members can't help out other members?
I too would like to know how this is done, it's on the top of my list for updates I'd like to be able to give my members. I tried the generator and entered it in the description, didn't work. I even tried the homepage metatags and entered the direct .JS where the original picture field is supposed to be.
I too would like to know how this is done, it's on the top of my list for updates I'd like to be able to give my members. I tried the generator and entered it in the description, didn't work. I even tried the homepage metatags and entered the direct .JS where the original picture field is supposed to be.
CBP- Forumember
- Posts : 129
Reputation : 0
Language : English
Location : Las Vegas, Nevada, USA.
Re: random image script for the banner
Caihlem wrote:Jalokim wrote:odd i thought admins where to answer problems...
Please void comments like this, if yu really want to, my P.M box is open >.>
ok i usually avoid comments like this but
a) last time i PMed an admin i got brutally sweeped away. Not calling names ,but this admin really pushed me of like a .... fill in the dots
b) secondly I have asked for a couple of things on this site , and i know it is hard to do everything and there are hundreds of request per day, but at least someone could reply to my posts and at least say that they are on it, or that it can't be done.
@CBP I'm not saying members can't post their help, but seeing as this is a help forum ,i believe an admins work should be, as is more reliable.
I hope this random image script can come out soon... it really adds a professional feel and my members have been begging for it since the start of my site.
I apologise for being rude , but thats how i react when someone is rude to me first
Jalokim- Energetic
- Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland
Re: random image script for the banner
Jalokim: I login at least twice a day, each time I have on average 6 PM's to answer, I've got staff issues to tae care of, a forum to run as a whole
Sosrry if I've appointed Helpers and Moderators to help me out ok
P.S: I even have a personal life, amazing no? >.>
Sosrry if I've appointed Helpers and Moderators to help me out ok
P.S: I even have a personal life, amazing no? >.>
Caihlem- Energetic
- Posts : 8969
Reputation : 342
Language : English, French & Female
Location : You can't fly like the phenix
Re: random image script for the banner
I only saw one poll you made for this and it was locked. =( And that was after reading through the first 8 pages of the suggestion section. Had to do a search for it.
Anyway, if this were a poll, I would definitely vote 'yes' to having the ability to either add js for random banner images, or to at least be able to upload approx. 5 banner images and just have the code embedded into the main database by Forumotion. I've been searching everywhere for a way to do this. It's not difficult for a member to utilize randomsig.net to create random sigs and avatars, but their size limit is too small for the banners most forums use.
If anyone knows how to do this, please post it up.
Anyway, if this were a poll, I would definitely vote 'yes' to having the ability to either add js for random banner images, or to at least be able to upload approx. 5 banner images and just have the code embedded into the main database by Forumotion. I've been searching everywhere for a way to do this. It's not difficult for a member to utilize randomsig.net to create random sigs and avatars, but their size limit is too small for the banners most forums use.
If anyone knows how to do this, please post it up.
Guest- Guest
Similar topics
» Random text script!!!
» Random post script
» Random script doesn`t work
» Random image
» Random Banner / banner rotation
» Random post script
» Random script doesn`t work
» Random image
» Random Banner / banner rotation
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum