Welcome Guest [Log In] [Register]
Add Reply
Fix the banner?
Topic Started: Apr 21 2006, 01:47 PM (334 Views)
Linkums
Member Avatar

Hey, 10 N-Points to anyone who can make the table where the banner is match the rest of the forum! Here's the code I'm using right now (took it off another forum, but i gave credit) If you need more just View --> Source.

Code:
 

<!--IBF.BANNER-->
<div id='logostrip'>
 <a href='www.forumnintendo.cjb.com' title='Board Home'><center>
<script language=javascript>
<!--//

var bannernum = "4";

var banner = new Array(1000);
banner[0]="<img src='http://i41.photobucket.com/albums/e282/tlwll/newryanlogo2.jpg' border='50'>";
banner[1]="<img src='http://i41.photobucket.com/albums/e282/tlwll/newryanlogo2.jpg' border='50'>";
banner[2]="<img src='http://i13.photobucket.com/albums/a267/caumsa/Ryanslogo.jpg' border='50'>";
banner[3]="<img src='http://i41.photobucket.com/albums/e282/tlwll/newryanlogo2.jpg' border='50'>";
banner[4]="<img src='http://i13.photobucket.com/albums/a267/caumsa/RYanlogo.jpg' border='50'>";

var arandomn=Math.random() * bannernum;
arandomn=Math.round(arandomn);
var thebanner =banner[arandomn];

document.write("<a href='www.forumnintendo.cjb.com'>"+thebanner+"</a>");

//-->
</script>
<!--// Script provided by http://forums.distantstars.net  //-->
</center></a>

</div>
Posted Image
Currently playing: Tales of Rebirth (PS2), Tales of Graces f (PS3), Kid Icarus: Uprising (3DS)
Offline Profile Quote Post Goto Top
 
Ron the Stormtrooper
Member Avatar

I think it's the Var banner part. I think that's what's messin it up.
Posted Image
Offline Profile Quote Post Goto Top
 
Ron the Stormtrooper
Member Avatar

Try this
Code:
 

<!--IBF.BANNER-->
<div id='logostrip'>
<a href='www.forumnintendo.cjb.com' title='Board Home'><center>
<script language=javascript>
<!--//

var bannernum = "4";

var banner = new Array(1000);
banner[0]="<img src='http://i41.photobucket.com/albums/e282/tlwll/newryanlogo2.jpg' border='0'>";
banner[1]="<img src='http://i41.photobucket.com/albums/e282/tlwll/newryanlogo2.jpg' border='0'>";
banner[2]="<img src='http://i13.photobucket.com/albums/a267/caumsa/Ryanslogo.jpg' border='0'>";
banner[3]="<img src='http://i41.photobucket.com/albums/e282/tlwll/newryanlogo2.jpg' border='0'>";
banner[4]="<img src='http://i13.photobucket.com/albums/a267/caumsa/RYanlogo.jpg' border='0'>";

var arandomn=Math.random() * bannernum;
arandomn=Math.round(arandomn);
var thebanner =banner[arandomn];

document.write("<a href='www.forumnintendo.cjb.com'>"+thebanner+"</a>");

//-->
</script>
<!--// Script provided by [URL=http://forums.distantstars.net]http://forums.distantstars.net[/URL]  //-->
</center></a>

</div>
Posted Image
Offline Profile Quote Post Goto Top
 
the thief

hmmmm...well I dont know much about programming, now we need major sev... although I think the color settings if there are any are off....
Offline Profile Quote Post Goto Top
 
Linkums
Member Avatar

Ron the Stormtrooper
Apr 21 2006, 03:04 PM
Try this
Code:
 

<!--IBF.BANNER-->
<div id='logostrip'>
<a href='www.forumnintendo.cjb.com' title='Board Home'><center>
<script language=javascript>
<!--//

var bannernum = "4";

var banner = new Array(1000);
banner[0]="<img src='http://i41.photobucket.com/albums/e282/tlwll/newryanlogo2.jpg' border='0'>";
banner[1]="<img src='http://i41.photobucket.com/albums/e282/tlwll/newryanlogo2.jpg' border='0'>";
banner[2]="<img src='http://i13.photobucket.com/albums/a267/caumsa/Ryanslogo.jpg' border='0'>";
banner[3]="<img src='http://i41.photobucket.com/albums/e282/tlwll/newryanlogo2.jpg' border='0'>";
banner[4]="<img src='http://i13.photobucket.com/albums/a267/caumsa/RYanlogo.jpg' border='0'>";

var arandomn=Math.random() * bannernum;
arandomn=Math.round(arandomn);
var thebanner =banner[arandomn];

document.write("<a href='www.forumnintendo.cjb.com'>"+thebanner+"</a>");

//-->
</script>
<!--// Script provided by [URL=http://forums.distantstars.net]http://forums.distantstars.net[/URL]  //-->
</center></a>

</div>

nope, didn't work.
Posted Image
Currently playing: Tales of Rebirth (PS2), Tales of Graces f (PS3), Kid Icarus: Uprising (3DS)
Offline Profile Quote Post Goto Top
 
DARTH ANDY
Member Avatar

is the banner messing up 4 u??

just asking
Aedile Alpha
Halo 3
Rank: Captain Grade 3
Highest medals achieved: Extermination!, Perfection! and Vehicular Manslaughter!
Campaign status: Finished the Fight! on Legendary
Gamerscore/Achievements: 925/1000 G & 38/49 Achievements
Recent medal(s): Vehicular Manslaughter! on Isolation. Gametype: Team BRs.
The Security helmet is the Marathon security guard's helmet, slightly tweaked for Halo 3.
Offline Profile Quote Post Goto Top
 
Ron the Stormtrooper
Member Avatar

Just go back to normal. That might fix it.
Posted Image
Offline Profile Quote Post Goto Top
 
Linkums
Member Avatar

well i know THAT will fix it. I just think its neat to have it switch the banner at random. perhaps i'll just ask major sev.
Posted Image
Currently playing: Tales of Rebirth (PS2), Tales of Graces f (PS3), Kid Icarus: Uprising (3DS)
Offline Profile Quote Post Goto Top
 
Milton P.
Member Avatar

...... iT is changing randomly but when i click it, it dose not take me 2 the forums homepage :( i liked how it worked bfore

Posted Image
I love Photo Shop! --- MP.
Brawl: 0087 2105 0715 (PM me)
Offline Profile Quote Post Goto Top
 
the thief

yeah, It changes, but it seems kinda gimicky and I dont really like it... its neat but not great...
Offline Profile Quote Post Goto Top
 
Milton P.
Member Avatar

change it as how it was before!!! plz this changing thing makes it look wierd. maybe if we get better banner and all with the same seize as this one:Posted Image it will look better.....

But with this one Posted Image
always at the home page..

because the other banners that we have that are not this one Posted Image
are not so cool

Posted Image
I love Photo Shop! --- MP.
Brawl: 0087 2105 0715 (PM me)
Offline Profile Quote Post Goto Top
 
Linkums
Member Avatar

hmm... so which one did you want again? XD Ok, i'll change it back.
Posted Image
Currently playing: Tales of Rebirth (PS2), Tales of Graces f (PS3), Kid Icarus: Uprising (3DS)
Offline Profile Quote Post Goto Top
 
Milton P.
Member Avatar

lol
thank u very much.... :D

Posted Image
I love Photo Shop! --- MP.
Brawl: 0087 2105 0715 (PM me)
Offline Profile Quote Post Goto Top
 
Nightwavex

If I had access to a site that allowed PHP, i could program an image that rotates by itself, but would work like an ordinary banner.
Posted Image
Offline Profile Quote Post Goto Top
 
DS_MANAIC
Member Avatar

lol here use this


Code:
 
<script language="JavaScript">
<!--Made By Lee20 Of InvisionFree-->
<!-- Begin
var ad_cnt1 = 4;
var now1 = new Date()
var sec1 = now1.getSeconds()
var ad1 = sec1 % ad_cnt1;
ad1 +=1;
if (ad1==1) {
url1="YOUR-DOMAIN-HERE";
banner1="URL_OF_BANNER";
width1="468";
height1="60";
alt1="ALT TEXT HERE";
}
if (ad1==2) {
url1="YOUR-DOMAIN-HERE";
banner1="URL_OF_BANNER";
width1="468";
height1="60";
alt1="ALT TEXT HERE";
}
if (ad1==3) {
url1="YOUR-DOMAIN-HERE";
banner1="URL_OF_BANNER";
width1="468";
height1="60";
alt1="ALT TEXT HERE";
}
if (ad1==4) {
url1="YOUR-DOMAIN-HERE";
banner1="URL_OF_BANNER";
width1="468";
height1="60";
alt1="ALT TEXT HERE";
}
document.write('<center><a href="' + url1 + '" target="_blank">');
document.write('<img src="' + banner1 + '" width=' + width1 + ' height=' + height1 + ' border=0 alt="' + alt1 + '"></a>');
document.write('</center>');
// End -->
</SCRIPT>
DS_MANAIC'S ds has died!
Help him get a new one by going here!
Help DS get a new ds
Try and understand the following
[size=8]"the statement below is true"
"the statement above is false"[/size]
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Suggestions and Tech Support Board · Next Topic »
Add Reply

Page views since 09/22/04 ^_^

counter Firefox Bookmark and Share

..:: Affiliates ::..