15 coaches online • Server time: 06:51
Forum Chat
Log in
Recent Forum Topics goto Post Secret League Old Wo...goto Post Creating a custom to...goto Post ramchop takes on the...
SearchSearch 
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic
jarvis_pants



Joined: Oct 30, 2008

Post   Posted: Apr 25, 2012 - 21:04
FUMBBL Staff
Reply with quote Back to top

http://www.pvv.ntnu.no/~brill/fumbbl/

put ur team number in

copy and paste the code

team number can be found in the address bar when looking at your team

_________________
"May Nuffle have mercy on your rolls." - St.Basher
Axtklinge



Joined: Feb 02, 2008

Post 14 Posted: Apr 27, 2012 - 11:44 Reply with quote Back to top

Cool, thanks!
I'll try it out and come back to bug you guys more if it doesn't work.
Smile

Cheers!
A.

Edit: It worked! Thanks a lot! Very Happy
Bob_Bifford



Joined: Feb 08, 2012

Post   Posted: May 10, 2012 - 11:17 Reply with quote Back to top

JanMattys wrote:
Buttons:

Code:
<div><span><input type="button" value="SHOW TEXT" style="width:150px;font-size:10px;margin:0px;padding:0px;" onclick="if (this.value == 'SHOW TEXT') { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = ''; this.value = 'HIDE TEXT'; } else { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = 'none'; this.value = 'SHOW TEXT';}"></span><span><div class="alt2" style="margin: 0px; width:400px; border: 0px solid;"><span style="display: none;"><br>TEXT</b></div><br />



This button is messed up it shows the txt first and then hides it when clicking, i want the txt to be hidden when i first go onto the page and the click to see it.

Edit found the one Woodstock got me thanks.
hale



Joined: Apr 05, 2008

Post   Posted: May 11, 2012 - 14:32 Reply with quote Back to top

I was trying to do the same thing to show/hide my team history, could you post the working code for it here? Smile
Shraaaag



Joined: Feb 15, 2004

Post   Posted: May 11, 2012 - 14:38 Reply with quote Back to top

add style='display:none;' to the <div> you wish to hide:
Code:
<input type="button" value="Show text" onclick="x=document.getElementById('divID');if(x.style.display != 'none'){x.style.display = 'none';this.value='Show text'}else{x.style.display = 'block';this.value='Hide text';}">
<div id='divID' style='display:none;'>YOUR TEXT</div>

_________________
Image
OenarLod



Joined: Jan 26, 2011

Post   Posted: May 11, 2012 - 14:40 Reply with quote Back to top

Ok, I will post it again even if my first try was refused due to lack of elegance...

The html for the Genetic Replicants is the following:

Code:

<div align="center"><!--
--><table align="center" border="0"><tr align="center"><td><table  border="0" cellspacing="0" cellpadding="5"><!--
--><!-- TEAM MOTTO --><!--
--><tr align="center"><td><!--
--><div align="center"><font color="#000000" size="4"><b>Time to die!</b></font></div><!--
--></td></tr><!--
--><!-- TEAM HISTORY --><!--
--><tr align="center"><td><br/><!--
--><div align="center"><span><input type="button" value="Show Team History" style='width:150px;font-size:12px;margin:0px;padding:0px;' onclick="if (this.value == 'Show Team History') { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = 'none'; this.value = 'Show Team History';}"></span><span><span style='display: none;'><!--
--><style type="text/css"> pwbio{ border-collapse:collapse; border:1px solid black; } .pwbio td { border:1px solid black; }</style><!--
--><table class=pwbio ><td style='text-align:left;'><!--
--><table width="650px" border="1"><!--
--><tr valign="middle" bordercolor="#999999"><td width="20%" height="40" ><div align="center"><strong><font color="#000000">Date</font></strong></div></td><td width="60%" height="40"><div align="center"><strong><font color="#000000">Event</font></strong></div></td><td width="20%" height="40"><div align="center"><strong><font color="#000000">Notes</font></strong></div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td width="20%" height="40"><div align="center"><strong>December 2011</br>January 2012</strong></div></td><td width="60%" height="40"><div align="center"><a href="https://fumbbl.com/FUMBBL.php?page=group&op=view&at=1&group=2294&p=tournaments&show=30504">Royal Rookie Rumble CCIV</a></div></td><td width="20%" height="40"><div align="center">winner</div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td width="20%" height="40"><div align="center"><strong>January 2012<br />February 2012</strong></div></td><td width="60%" height="40"><div align="center"><a href="https://fumbbl.com/FUMBBL.php?page=group&op=view&at=1&group=4945&p=tournaments&show=30827">SMACK Sched VET CXXI</a></div></td><td width="20%" height="40"><div align="center">runner up</div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td width="20%" height="40"><div align="center"><strong>March 2012</strong></div></td><td width="60%" height="40"><div align="center"><a href="https://fumbbl.com/FUMBBL.php?page=group&op=view&at=1&group=4945&p=tournaments&show=31126">SMACK Sched PRO CXLI</a></div></td><td width="20%" height="40"><div align="center">runner up</div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td width="20%" height="40"><div align="center"><strong>April 2012</strong></div></td><td width="60%" height="40"><div align="center"><a href="https://fumbbl.com/FUMBBL.php?page=group&op=view&at=1&group=4945&p=tournaments&show=31353">SMACK Sched PRO CXLII</a></div></td><td width="20%" height="40"><div align="center">winner</div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td width="20%" height="40"><div align="center"><strong>May 2012</strong></div></td><td width="60%" height="40"><div align="center"><a href="https://fumbbl.com/FUMBBL.php?page=group&op=view&at=1&group=4945&p=tournaments&show=31500">SMACK Sched PRO CXLIII</a></div></td><td width="20%" height="40"><div align="center">tbd</div></td></tr><!--
--></table></td></table></td></tr></div><!--
-><!-- TROPHY ROOM --><!--
--><tr align="center"><td><br/><!--
--><div align="center"><span><input type="button" value="Show Trophy Room" style='width:150px;font-size:12px;margin:0px;padding:0px;' onclick="if (this.value == 'Show Trophy Room') { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = 'none'; this.value = 'Show Trophy Room';}"></span><span><span style='display: none;'><!--
--><style type="text/css"> pwbio{ border-collapse:collapse; border:1px solid black; } .pwbio td { border:1px solid black; }</style><!--
--><table class=pwbio ><td style='text-align:left;'><!--
--><table width="650px" border="1"><!--
--><tr valign="middle" bordercolor="#999999"><td width="100%" height="40"><div align="center"><img src="https://fumbbl.com/files/banners/RRRBanner.png"/></br><a href="https://fumbbl.com/FUMBBL.php?page=group&op=view&at=1&group=2294&p=tournaments&show=30504">Royal Rookie Rumble CCIV</a></div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td width="100%" height="40"><div align="center"><img src="http://i62.photobucket.com/albums/h116/Mbuur/Fumbbl-smackSched.png"/></br><a href="https://fumbbl.com/FUMBBL.php?page=group&op=view&at=1&group=4945&p=tournaments&show=31353">FUMBBL SMACK Sched PRO CXLII</a></div></td></tr><!--
--></table></td></table></td></tr></div><!--
--><!-- FRANCHISE RECORDS --><!--
--><tr align="center"><td><br/><!--
--><div align="center"><span><input type="button" value="Show Franchise Records" style='width:150px;font-size:12px;margin:0px;padding:0px;' onclick="if (this.value == 'Show Franchise Records') { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = 'none'; this.value = 'Show Franchise Records';}"></span><span><span style='display: none;'><!--
--><style type="text/css"> pwbio{ border-collapse:collapse; border:1px solid black; } .pwbio td { border:1px solid black; }</style><!--
--><table class=pwbio ><td style='text-align:left;'><!--
--><table width="650px" border="1"><!--
--><tr valign="middle" bordercolor="#999999"><td width="20%" height="40"><div align="center"><strong><font color="#000000">Category</font></strong></div></td><td height="40" colspan="2"><div align="center"><strong><font color="#000000">Player</font></strong></div></td><td width="15%" height="40"><div align="center"><strong><font color="#000000">Record</font></strong></div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td height="40"><div align="center">Touchdowns</div></td><td width="10%" height="40"><div align="center"><strong><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/hthrower1.gif"></strong></div></td><td width="60%" height="40"><div align="center"><a href="https://fumbbl.com/FUMBBL.php?page=player&op=view&player_id=8370106">Eldon Tyrell 1</a></div></td><td height="40"><div align="center">5</div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td height="40"><div align="center">Completions</div></td><td width="10%" height="40"><div align="center"><strong><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/hthrower1.gif"></strong></div></td><td width="60%" height="40"><div align="center"><a href="https://fumbbl.com/FUMBBL.php?page=player&op=view&player_id=8370106">Eldon Tyrell 1</a></div></td><td height="40"><div align="center">4</div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td height="40"><div align="center">Casualties</div></td><td width="10%" height="40"><div align="center"><strong><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/hblitzer1.gif"></strong></div></td><td width="60%" height="40"><div align="center"><a href="https://fumbbl.com/FUMBBL.php?page=player&op=view&player_id=8370103">Leon Kowalski 1</a></div></td><td height="40"><div align="center">6</div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td height="40"><div align="center">Interceptions</div></td><td width="10%" height="40"><div align="center"><strong><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/hlineman1.gif"></strong></div></td><td width="60%" height="40"><div align="center"><a href="https://fumbbl.com/FUMBBL.php?page=player&op=view&player_id=...">xxx</a></div></td><td height="40"><div align="center">0</div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td height="40"><div align="center">Pass Yards</div></td><td width="10%" height="40"><div align="center"><strong><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/hthrower1.gif"></strong></div></td><td width="60%" height="40"><div align="center"><a href="https://fumbbl.com/FUMBBL.php?page=player&op=view&player_id=8370106">Eldon Tyrell 1</a></div></td><td height="40"><div align="center">11</div></td></tr><!--
--><tr valign="middle" bordercolor="#999999"><td height="40"><div align="center">Rush Yards</div></td><td width="10%" height="40"><div align="center"><strong><img src="https://fumbbl.com/FUMBBL/Images/PlayerIcons/hthrower1.gif"></strong></div></td><td width="60%" height="40"><div align="center"><a href="https://fumbbl.com/FUMBBL.php?page=player&op=view&player_id=8370106">Eldon Tyrell 1</a></div></td><td height="40"><div align="center">207</div></td></tr><!--
--></table></td></table></td></tr></div><!--
--></table></td></tr></table><!--
--></div>

_________________
Image
Join the Human League Premiership!


Last edited by OenarLod on May 11, 2012 - 17:44; edited 1 time in total
hale



Joined: Apr 05, 2008

Post   Posted: May 11, 2012 - 16:27 Reply with quote Back to top

thanks dudes this is awesome!
Nelphine



Joined: Apr 01, 2011

Post   Posted: May 11, 2012 - 17:50 Reply with quote Back to top

You guys are awesome! One comment; my buttons wouldn't work until I refreshed my browser, which led me to believe they weren't working at all for a good 15 minutes. Is that normal?

And for those who have been scarred for life by Shrieking Bloodstorm's 2 billion page bio, it has BUTTONS NOW!
OenarLod



Joined: Jan 26, 2011

Post   Posted: May 11, 2012 - 17:57 Reply with quote Back to top

I have the same behaviour using Chrome as a browser. In IE the buttons work fine even before the refresh. I don't know on Firefox/Safari, I don't have them installed.

_________________
Image
Join the Human League Premiership!
ClayInfinity



Joined: Aug 15, 2003

Post   Posted: Jun 18, 2012 - 08:18 Reply with quote Back to top

jarvis_pants wrote:
http://www.pvv.ntnu.no/~brill/fumbbl/

put ur team number in

copy and paste the code

team number can be found in the address bar when looking at your team


Is there a way for the results of these scripts to auto-update when the team changes rather than manually doing it from the pw.ntnu website?

e.g. here is my team: https://fumbbl.com/FUMBBL.php?page=team&op=view&team_id=656412
jarvis_pants



Joined: Oct 30, 2008

Post   Posted: Jun 18, 2012 - 08:33
FUMBBL Staff
Reply with quote Back to top

Hey clay.

Unfortunately not as it dosent just link to something outside the site which then compiles.

So im afraid its manualy.

My suggestion add some other fluff to your team and as your updating that you will remind yourself to re run your scripts.

_________________
"May Nuffle have mercy on your rolls." - St.Basher
Shraaaag



Joined: Feb 15, 2004

Post   Posted: Jun 18, 2012 - 08:34 Reply with quote Back to top

ClayInfinity wrote:

Is there a way for the results of these scripts to auto-update when the team changes rather than manually doing it from the pw.ntnu website?


Nope, sorry. Reason: <insert web-security technobabble>

_________________
Image
ClayInfinity



Joined: Aug 15, 2003

Post   Posted: Jun 18, 2012 - 08:51 Reply with quote Back to top

No worries... thought I was missing something.

Great site Shraaag. Thanks for putting it together! Smile
jarvis_pants



Joined: Oct 30, 2008

Post   Posted: Jun 18, 2012 - 17:02
FUMBBL Staff
Reply with quote Back to top

Hey shraaaag

i LOVE the scripts. I have no idea how much effort it is to get these working but a few extras that would be cool would be

Most fouls in a match/most touchdowns/most cas/most passes could be in a different section any other stuff like that if its easy to compile. If its not then dont worry.

If im making a wishlist then also take a look at my players i dont suppose theres any way to automate those casualities?

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

The fling mafia loves shraaaaaag

_________________
"May Nuffle have mercy on your rolls." - St.Basher
dementor42



Joined: Oct 27, 2017

Post   Posted: Jan 04, 2024 - 02:57 Reply with quote Back to top

Hi all, not sure where best to ask this so asking here - anyone know why this team's bio isn't working? https://fumbbl.com/FUMBBL.php?page=team&op=view&team_id=1112770
I won the minor recently with it and wanted to put that in its bio but html has been uncooperative. I use firefox if that makes a difference
Display posts from previous:     
 Jump to:   
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Log in to check your private messages View next topic