41 coaches online • Server time: 10:23
Forum Chat
Log in
Recent Forum Topics goto Post DOTP Season 4goto Post Skittles' Centu...goto Post Secret League Americ...
SearchSearch 
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Log in to check your private messages View next topic
the_cursed_one



Joined: Feb 18, 2010

Post   Posted: Aug 24, 2012 - 12:07 Reply with quote Back to top

Can someone help me get these two buttons to work as the E.L.F season one works fine but the second button opens/closes the E.L.F one instead of its own.
Avening the Forest

Quote:

Bio Code:
<img src="http://fumbbl.com/teams/119028.jpg">

<input type="button" value="Show ELF Points" onclick="x=document.getElementById('hide1');if(x.style.display != 'none'){x.style.display = 'none';this.value='Show ELF Points'}else{x.style.display = 'block';this.value='Hide ELF Points';}"><div id=hide1 style='display:none'><style type="text/css">.elf{color:#FFFFFF; background-color:#4B0082;}p{font-size:12px;}</style><!--
--><table width="800px" border="1" cellpadding="2" cellspacing="1"><tr align="center" valign="middle"><th class="elf" colspan="16"><!--
-->E.L.F - Opponent Team Categories - Season XXXI<!--
--></th></tr><tr align="center" valign="middle"><th class="elf">Category</th><th class="elf" width="40px">Race</th><th class="elf">Points</th><th class="elf" width="40px">Race</th><th class="elf">Points</th><th class="elf" width="40px">Race</th><th class="elf">Points</th><th class="elf" width="40px">Race</th><th class="elf">Points</th><th class="elf" width="40px">Race</th><th class="elf">Points</th><th class="elf" width="40px">Race</th><th class="elf">Points</th><th class="elf" width="40px">Race</th><th class="elf">Points</th><th class="elf">Total Points</th></tr><!--
--><!-- Category A start --><!--
--><tr align="center" valign="middle"><!--
--><th class="elf" style='background-color:#660066'><!--
-->Cat A<p>(Plug & Play)</p><!--
--></th><!--
--><!-- Dwarves --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/dlongbeard1b.gif" alt="Dwarf" /><!--
--></td><!--
--><td><!--
--><!-- Enter Score against Dwarves below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Dwarves --><!--
--><!-- Chaos Dwarves --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/cddwarf1b.gif" alt="Chaos Dwarf" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Chaos Dwarves below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Chaos Dwarves --><!--
--><!-- Orc --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/oblitzer1b.gif" alt="Orc" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Orc below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Orc --><!--
--><!-- What follows: Unused Cells, skip --><!--
--><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><!--
--><!-- Continue --><!--
--><!-- Points Category A --><!--
--><td><!--
--><!-- Enter total points for Category A below --> <!--
-->&nbsp;<!--
--></td><!--
--><!-- /Points Category A --><!--
--></tr><!--
--><!-- /Category A--><!--
--><!-- Category B--><!--
--><tr align="center" valign="middle"><!--
--><th class="elf" style='background-color:#80268C'><!--
-->Cat B<p>(Better with age)</p><!--
--></th><!--
--><!-- Chaos --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/cwarrior1b.gif" alt="Chaos" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Chaos below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Chaos --><!--
--><!-- Pact Teams --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/marauder1b.gif" alt="Chaos Pact"><!--
--></td><!--
--><td><!--
--><!-- Enter score against Pact Teams below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Pact Teams --><!--
--><!-- Nurgle's Rotters --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/rtrotter1b.gif" alt="Nurgle's Rotters" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Nurgle's Rotters below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- Unused Cells below. Skip. --> <!--
--><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><!--
--><!-- Continue --><!--
--><!-- Points Category B --><!--
--><td><!--
--><!-- Enter total points for Category B below --> <!--
-->&nbsp;<!--
--></td><!--
--><!-- /Points Category B --><!--
--></tr><!--
--><!-- /Category B --><!--
--><!-- Category C --><!--
--><tr align="center" valign="middle"><!--
--><th class="elf" style='background-color:#9933B2'><!--
-->Cat C<p>(Bones & Moans)</p><!--
--></th><!--
--><!-- Khemri --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/tomb_guardian1b.gif" alt="Khemri" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Khemri below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Khemri --><!--
--><!-- Necromantic --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/ngolem1b.gif" alt="Necromantic" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Necros below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Necromantic --><!--
--><!-- Undead --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/umummy1b.gif" alt="Undead"><!--
--></td><!--
--><td><!--
--><!-- Enter score against Undead below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Undead --><!--
--><!-- Vampires --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/vampire1b.gif" alt="Vampires" /><!--
--></td><!--
--><td><!--
--><!-- Enter Score against Vampires below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Vampires --><!--
--><!-- Unused Cells below. Skip. --> <!--
--><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><!--
--><!-- Continue --><!--
--><!-- Points Category C --><!--
--><td><!--
--><!-- Enter total points for Category C below --> <!--
-->&nbsp;<!--
--></td><!--
--><!-- /Points Category C --><!--
--></tr><!--
--><!-- /Category C --><!--
--><!-- Category D --><!--
--><tr align="center" valign="middle"><!--
--><th class="elf" style='background-color:#B24CD9'><!--
-->Cat D<p>(Agility)</p><!--
--></th><!--
--><!-- Dark Elves --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/deblitzer1b.gif" alt="Dark Elves" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Dark Elves below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Dark Elves --><!--
--><!-- High Elves --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/heblitzer1b.gif" alt="High Elves" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against High Elves below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /High Elves --><!--
--><!-- Pro Elves --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/epblitzer1b.gif" alt="Pro Elves" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Pro Elves below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Pro Elves --><!--
--><!-- Skaven --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/skrunner1b.gif" alt="Skaven" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Skaven below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Skaven --><!--
--><!-- Slann --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/slannlino1b.gif" alt="Slann" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Slann below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Slann --><!--
--><!-- Wood Elves --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/weblitzer1b.gif" alt="Wood Elves" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Wood Elves below --><!--
-->&nbsp;</td><!--
--><!-- /Wood Elves --><!--
--><!-- Unused Cells below. Skip. --><!--
--><td>&nbsp;</td><td>&nbsp;</td><!--
--><!-- Continue. --><!--
--><!-- Points Category D --><!--
--><td><!--
--><!-- Enter total points for Category D below --> <!--
-->&nbsp;<!--
--></td><!--
--><!-- /Points Category D --><!--
--></tr><!--
--><!-- /Category D --><!--
--><!-- Category E --><!--
--><tr align="center" valign="middle"><!--
--><th class="elf" style='background-color:#CC66FF'><!--
-->Cat E<p>(Humans & Stunties)</p><!--
--></th><!--
--><!-- Amazons --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/amblitzer1b.gif" alt="Amazons" /><!--
--></td><!--
--><td><!--
--><!--Enter score against Amazons below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Amazons --><!--
--><!-- Humans --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/hblitzer1b.gif" alt="Human" /><!--
--></td><!--
--><td><!--
--><!-- Enter Score against Humans below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Humans --><!--
--><!-- Lizardmen --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/lmsaurus1b.gif" alt="Lizardmen" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Lizardmen below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Lizardmen --><!--
--><!-- Norse --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/nblitzer1b.gif" alt="Norse" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Norse below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Norse --><!--
--><!-- Ogre --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/ogre1b.gif" alt="Ogre" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Ogres below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Ogre --><!--
--><!-- Stunties --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/goblin1b.gif" alt="Stunties" /><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/halfling1b.gif" alt="Stunties" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against ONE of the Stunty Races below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Stunties --><!--
--><!-- Underworld --><!--
--><td><!--
--><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/uwgoblin1b.gif" alt="Underworld" /><!--
--></td><!--
--><td><!--
--><!-- Enter score against Underworld below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Underworld --><!--
--><!-- Points Category E --><!--
--><td><!--
--><!-- Enter total points for Category E below --> <!--
-->&nbsp;<!--
--></td><!--
--><!-- /Points Category E --><!--
--></tr><!--
--><!-- /Category E --><!--
--><tr valign="middle" align="center"><!--
--><td class="elf" colspan="13"><!--
--><i>(Season XXXI of E.L.F 21 Aug, 2012 - 14 Oct, 2012)</i><!--
--></td><!--
--><!-- Total Score --><!--
--><th class="elf" colspan="2"><!--
-->Grand Total:<!--
--></th><!--
--><td><!--
--><!-- Enter total Score below --><!--
-->&nbsp;<!--
--></td><!--
--><!-- /Total Score --><!--
--></tr><!--
--></table></div>

<input type="button" value="Avengers Awiating Call Up" onclick="x=document.getElementById('hide1');if(x.style.display != 'none'){x.style.display = 'none';this.value='Avengers Awiating Call Up'}else{x.style.display = 'block';this.value='Hide Recruits';}"><div id=hide1 style='display:none'>
Treeman= Hulk
Catchers= Hawkeye, Spider-woman, Ms.Marvel, Black Widow. </div>


Thanks for any help I get guys, if no-one can help no sweat Ill just only have one button.
p4m



Joined: Aug 02, 2003

Post   Posted: Aug 24, 2012 - 12:22 Reply with quote Back to top

i assume it is because you are using non definated values... this is ok as long as you just use one button, but in this case as you push the second button you recall the actions done for the first button... but got no clue how to do it Smile
the_cursed_one



Joined: Feb 18, 2010

Post   Posted: Aug 24, 2012 - 12:27 Reply with quote Back to top

me neither, i can only jsut make basic tables on ma own, when i have something to compare it next too, dont know jack about buttons hence the asking for help
p4m



Joined: Aug 02, 2003

Post   Posted: Aug 24, 2012 - 12:31 Reply with quote Back to top

ok, after try and error:

<input type="button" value="Avengers Awiating Call Up" onclick="x=document.getElementById('hide');if(x.style.display != 'none'){x.style.display = 'none';this.value='Avengers Awiating Call Up'}else{x.style.display = 'block';this.value='Hide Recruits';}"><div id='hide' style='display:none'>
Treeman= Hulk
Catchers= Hawkeye, Spider-woman, Ms.Marvel, Black Widow. </div>
the_cursed_one



Joined: Feb 18, 2010

Post   Posted: Aug 24, 2012 - 13:47 Reply with quote Back to top

thanks, sorted now
zakatan



Joined: May 17, 2008

Post   Posted: Aug 24, 2012 - 13:58 Reply with quote Back to top

two tips for a better bio layout:

1) use the <center></center> tag at the beggining and end of your bio so that text and buttons are centered instead of aligned left.

2) use the </table> tag before the elf points table. This will move the table outside the bio area and before the team roster. This is specially useful if you plan to acquire a team logo.

example: http://fumbbl.com/FUMBBL.php?page=team&op=view&team_id=705850

_________________
Image
OenarLod



Joined: Jan 26, 2011

Post   Posted: Aug 24, 2012 - 14:25 Reply with quote Back to top

zakatan wrote:

2) use the </table> tag before the elf points table. This will move the table outside the bio area and before the team roster. This is specially useful if you plan to acquire a team logo.


Don't do that. That's actually mess with the html page layout and (I think) it's one of the reasons why Christer says that html in bios is not supported and why he want to disable it moving to bbcode.

_________________
Image
Join the Human League Premiership!
WhatBall



Joined: Aug 21, 2008

Post   Posted: Aug 24, 2012 - 15:29 Reply with quote Back to top

There is already a thread on buttons for the team bios. Locked.
Display posts from previous:     
 Jump to:   
All times are GMT + 1 Hour
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Log in to check your private messages View next topic