Rotating Banner
2 posters
Page 1 of 1
Rotating Banner
Ive been looking into a rotating banner for the forums for weeks now and its driving me nuts!!!
Could anyone help?? Im simply wanting the main banner at the top of the forums to change on the page reload. Not sure if this can be simply implemented in to the CSS or you need JS.
If anyone could help ill be forever in you debt.
Cheers
UL
Could anyone help?? Im simply wanting the main banner at the top of the forums to change on the page reload. Not sure if this can be simply implemented in to the CSS or you need JS.
If anyone could help ill be forever in you debt.
Cheers
UL
Re: Rotating Banner
Found this that works.
Just wanting to know now how this can be added above the menu bar.
As at the moment it has to be added to the "homepage Message".
Heres a link to the original post. See if anyone else can make sense of it, as im totally useless when it comes to coding.
- Code:
<script language="Javascript">
// Courtesy of SimplytheBest.net - http://simplythebest.net/scripts/
<!--
i=0;
var ads = new Object();
var header='<CENTER>';
ads[i++] = header
+'<A HREF="http://www.urbexleeds.forum-motion.com" TARGET="_top">'
+'<IMG SRC="http://i34.tinypic.com/259en1x.jpg" width="700" height="90" BORDER=0 ALT="This Is UrbexLeeds">'
+'</A></CENTER>';
ads[i++] = header
+'<A HREF="http://www.urbexleeds.forum-motion.com" TARGET="_top">'
+'<IMG SRC="http://i36.tinypic.com/9beog7.png" width="700" height="90" BORDER=0 ALT="This Is UrbexLeeds">'
+'</A></CENTER>';
ads.length = i;
dat = new Date();
dat = (dat.getTime()+"").charAt(8);
if (dat.length == 1)
ad_num = dat%ads.length;
else
ad_num = 0;
document.write(ads[ad_num]);
// -->
</script>
Just wanting to know now how this can be added above the menu bar.
As at the moment it has to be added to the "homepage Message".
Heres a link to the original post. See if anyone else can make sense of it, as im totally useless when it comes to coding.
Re: Rotating Banner
i dont think it needs to be javascript.
at one time i seen something like this for a myspace layout, which wont support javascript.
if you do a yahoo search for html tutorials it will come up with a site called something like w3school or another one called something like daves school.
those are very good websites.
sorry i dont have a code just to give you. and if i ever find the code tonight, i will come back and post it
when you get the code you can install it by going to display; colors; css stylesheet
you can position your banner with this code
example place to put it
just play around with the position to put it exactly where you want.
*EDIT*
you can either use this
http://www.123mycodes.com/random-image-generator.php
or you can make sense of this
http://scripts.anolecomputer.com/random_image/
other than that, just do a yahoo search for random image generator
at one time i seen something like this for a myspace layout, which wont support javascript.
if you do a yahoo search for html tutorials it will come up with a site called something like w3school or another one called something like daves school.
those are very good websites.
sorry i dont have a code just to give you. and if i ever find the code tonight, i will come back and post it
when you get the code you can install it by going to display; colors; css stylesheet
you can position your banner with this code
- Code:
style="position:absolute; left:0px; top: 0px"
example place to put it
- Code:
<img src="url here" border="0" style="position:absolute; left:0px; top: 0px" />
just play around with the position to put it exactly where you want.
*EDIT*
you can either use this
http://www.123mycodes.com/random-image-generator.php
or you can make sense of this
http://scripts.anolecomputer.com/random_image/
other than that, just do a yahoo search for random image generator
ChadmStraight- Forumember
- Posts : 91
Reputation : 1
Language : english
Similar topics
» Rotating banner help??
» Alternating Banner Code?
» Rotating banner
» Rotating Adverts
» Problem with rotating banner, please help.
» Alternating Banner Code?
» Rotating banner
» Rotating Adverts
» Problem with rotating banner, please help.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum