Is this code correct?
Page 1 of 1
Is this code correct?
I was making a roster that is expandable and Collapsable. I Would like to know if it has Any Errors in it. If it does, it would be helpful if you could reply with the fixed one. I just dont need my CSS screwing up. So Here it is:
NOTE IT IS JAVASCRIPT.
Thanks!
NOTE IT IS JAVASCRIPT.
- Code:
<div align="center"><big><strong><i>Rosters:</i></strong></big>
<div align="center"><script langauge="JavaScript" type="text/javascript">
function doMenu(item) {
obj=document.getElementById(item);
col=document.getElementById("x" + item);
if (obj.style.display=="none") {
obj.style.display="block";
col.innerHTML="[-]";
}
else {
obj.style.display="none";
col.innerHTML="[+]";
}
}
</script>
<BR><a href="JavaScript:doMenu('main');" id=xmain>[-]</a> View Rosters
<div id=main style="margin-left:1em">
<BR><div align="Center"><strong><big><u>Playstation 2:</u></big></strong></div>
<BR><strong><i>Star Wars Battlefront 2:</i></strong>
<font color="#FFFFFF"><marquee direction="up" scrollamount="1" style="background:black">
<div align="center">
<BR><u><b><i>Clan Leader:</i></b></u>
<BR>Darkfire
<BR>
<BR><u><b><i>Co-Clan Leaders:</i></b></u>
<BR>Aerotoxin
<BR>
<BR><u><b><i>5 Star Generals:</i></b></u>
<BR>
<BR><u><b><i>Generals:</i></b></u>
<BR>
<BR><u><b><i>Major-Generals:</i></b></u>
<BR>Dead*Eye
<BR>
<BR><u><b><i>Colonels:</i></b></u>
<BR>
<BR><u><b><i>Majors:</i></b></u>
<BR>
<BR><u><b><i>Captains:</i></b></u>
<BR>
<BR><u><b><i>Specialists:</i></b></u>
<BR>
<BR><u><b><i>Officiers:</i></b></u>
<BR>
<BR><u><b><i>Commanders:</i></b></u>
<BR>Killem
<BR>
<BR><u><b><i>3rd Lieutenants:</i></b></u>
<BR>Tapout
<BR>
<BR><u><b><i>2nd Lieutenants:</i></b></u>
<BR>
<BR><u><b><i>1st Lieutenants:</i></b></u>
<BR>ReX
<BR>Dusty
<BR>*Hellspawn
<BR>Stealthblade
<BR>
<BR><u><b><i>Lieutenants:</i></b></u>
<BR>*SwiftKilla
<BR>immortal
<BR>Destroyer
<BR>$HOCK_WAVE
<BR>Maces
<BR>
<BR><u><b><i>Sergeants:</i></b></u>
<BR>Nightshade
<BR>
<BR><u><b><i>Corperates:</i></b></u>
<BR>
<BR><u><b><i>1 Class Privates:</i></b></u>
<BR>
<BR><u><b><i>Privates:</i></b></u>
<BR>
<BR><u><b><i>Un-Ranked:</i></b></u>
<BR>
<BR></div></marquee></font><br>
<BR>
<BR>
<BR><div align="Center"><strong><i>Battlefield 2: Modern Combat:</i></div>
<font color="#FFFFFF"><marquee direction="up" scrollamount="1" style="background:BLACK"><div align="center">
<u><b><i>Clan Leader:</i></b></u>
<BR>Darkfire
<BR>
<BR>
<BR><u><b><i>Co-Clan-Leader:</i></b></u>
<BR>Killem
<BR>
<BR><u><b><i>Generals:</i></b></u>
<BR>
<BR>
<BR><u><b><i>Majors:</i></b></u>
<BR>
<BR>
<BR><u><b><i>Officers:</i></b></u>
<BR>
<BR>
<BR><u><b><i>Privates:</i></b></u>
<BR>
<BR>
</div></marquee></font><BR>
<BR>
<BR>
<BR><BR><div align="Center"><strong><big><u>Playstation 3:</u></big></strong></div>
<BR><div align="Center"><strong><i>Red Faction-Guerrilla:</i></strong></div>
<font color="#FFFFFF"><marquee direction="up" scrollamount="1" style="background:BLACK"><div align="center">
This Roster is not Yet Completed.
</div></marquee></font><BR>
<BR>
<BR>
<BR><div align="Center"><strong><big><u>Xbox 360:</u></big></strong></div>
<BR><div align="Center"><strong><i>Halo 3:</i></strong></div>
<font color="#FFFFFF"><marquee direction="up" scrollamount="1" style="background:BLACK"><div align="center">
<BR><u><b><i>Clan Leader:</i></b></u>
<BR>
<BR><u><b><i>Co-Clan-Leaders:</i></b></u>
<BR>
<BR><u><b><i>Officers:</i></b></u>
<BR>
<BR><u><b><i>Captains:</i></b></u>
<BR>
<BR><u><b><i>Privates:</i></b></u>
</div></marquee></font>
<BR>
<BR>
<BR></div></div>
<BR><div align="Center">We are in the work of our Next Generation Rosters, The Rosters Could Change at Any Minute.</div>
Thanks!
{TDX}CL_Eba- New Member
- Posts : 13
Reputation : 0
Language : English
Similar topics
» Need help with correct flash signature code
» SEO How to correct
» How do I make threads that doesn't show the thread maker?
» Automatic approval of new members with correct approval code
» background appear not correct
» SEO How to correct
» How do I make threads that doesn't show the thread maker?
» Automatic approval of new members with correct approval code
» background appear not correct
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum