cowhead
Joined: Oct 22, 2006
|
  Posted:
Jan 23, 2012 - 15:59 |
|
Cheers Garion, also is there anyway to get rid of the buttons to show the team info, trophys won, death list and have it on screen permanently? |
_________________
|
|
Garion
Joined: Aug 19, 2009
|
  Posted:
Jan 23, 2012 - 16:04 |
|
Yup just get rid of the button code. which is the big lump of code at the top and bottom.
So delete this bit which is the top button -
<span><input type="button" value="Team Info" style='width:150px;font-size:10px;margin:0px;padding:0px;' onclick="if (this.value == 'Team Info') { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = ''; this.value = 'Hide Info'; } else { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = 'none'; this.value = 'Team Info';}"></span><span><div class="alt2" style='margin: 0px; width:700px; border: 0px solid;'><span style='display: none;'><br><style type="text/css">.nobrtable br { display: none }</style>
and this bit which is the bottom two buttons -
<div><span><input type="button" value="Trophy Cabinet" style='width:150px;font-size:10px;margin:0px;padding:0px;' onclick="if (this.value == 'Trophy Cabinet') { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = ''; this.value = 'Hide Trophies' ; } else { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = 'none'; this.value = 'Trophy Cabinet';}"></span><span><div class="alt2" style='margin: 0px; width:400px; border: 0px solid;'><span style='display: none;'> Trophies Go Here!</a><br></b></span></div>
<div><span><input type="button" value="Death List" style='width:150px;font-size:10px;margin:0px;padding:0px;' onclick="if (this.value == 'Death List') { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = ''; this.value = 'Hide The Bodies'; } else { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = 'none'; this.value = 'Death List';}"> </span><span><div class="alt2" style='margin: 0px; width:400px; border: 0px solid;'><span style='display: none;'><br><a> Bodies Go Here! </a></b></span></div> |
|
|
cowhead
Joined: Oct 22, 2006
|
  Posted:
Jan 23, 2012 - 16:09 |
|
Cheers, i've been messing around a bit using Shraaaag's FUMBBL scripts, have a look at my team page http://fumbbl.com/FUMBBL.php?page=team&op=view&team_id=682830
I really wanted to have the Highlander Logo at the top of the page, but if I put it there a big gap apears between the logo and my team info.
I think my team image might be too big and causing the gap. |
|
|
Garion
Joined: Aug 19, 2009
|
  Posted:
Jan 23, 2012 - 16:25 |
|
yup it is much too big. I would shrink it by at least 75% on this website.
You could also get rid of the white it is ugly.
Resize the image first then save it. Then open it in Paint. Colour all the white pink with the colour drop tool. Then go here upload your image and you can make all the pink transparent. Save it to your desktop upload it to the site and you are done |
|
|
cowhead
Joined: Oct 22, 2006
|
  Posted:
Jan 23, 2012 - 16:36 |
|
Nice one, i'm just waiting for permission to use the image then i'll see what it looks like. |
_________________
|
|
Garion
Joined: Aug 19, 2009
|
  Posted:
Jan 23, 2012 - 16:44 |
|
hmm, you didnt quite manage to make the whole background image transparent. i will sort that out for you tomorrow.
as for the big gap, I think that has something to do with shraggs script. Try putting his code at the bottom, underneath everything else. or above everything except the banner maybe? |
|
|
cowhead
Joined: Oct 22, 2006
|
  Posted:
Jan 23, 2012 - 17:01 |
|
i've managed to get full transparency now, thanks for your help |
_________________
|
|
Garion
Joined: Aug 19, 2009
|
  Posted:
Jan 23, 2012 - 17:10 |
|
hmm, there still seems to be a gap, copy and paste your whole html here and i will sort it. |
|
|
cowhead
Joined: Oct 22, 2006
|
  Posted:
Jan 23, 2012 - 17:13 |
|
<div class="nobrtable">
<table width="600" border="2" >
<tr>
<td bgcolor="000000"><font color="white"> <b> Home City: </td>
<td bgcolor="000000"><font color="white"> <b> Maw's Tooth Mountain </td>
</tr>
<tr>
<td bgcolor="999999"> <b> Stadium name: </td>
<td bgcolor="999999"> <b> Arena Of Bones </td>
</tr>
<tr>
<td bgcolor="000000"><font color="white"> <b> Captain: </td>
<td bgcolor="000000"><font color="white"> <b> Victor Kruger </td>
</tr>
<tr>
<td bgcolor="999999"> <b>History: </td>
<td bgcolor="999999"> <b> Born in blood, Kurgans Sons were infamous for their cruelty, and were known to "toss children into pits full of starved dogs, and watch them fight for the meat" for amusement. Now the ugliest and meanest of Kurgans Sons bring their own special brand of violence to the beautiful game of Blood Bowl. </td>
</tr>
<tr>
<td bgcolor="000000"> <font color="white"><b> Current Season :</td>
<td bgcolor="000000"> <font color="white"> <b> HUBBA Season 1 </td>
</tr>
</a></td></tr></span></table>
<table style='border-spacing:0px;border-collapse:collapse;font-size:1em;background:white;border:1px solid black;'><tr style='text-align:center;background:black;color:white;'><th colspan='16'>Current Players</th></tr><tr><td style='text-align:center;background:#F8E0E0;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457116'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/ogre1.gif' title="Victor Kruger" /></a></td><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457117'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/ogre2.gif' title="Villa-Lobos Ramirez" /></a></td><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457118'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/ogre3.gif' title="Angus MacLeod" /></a></td><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457119'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/ogre4.gif' title="Dugal Macleod" /></a></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324877' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324877' title='empty' /></td><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457122'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/Snotling1.gif' title="Fresh Fish" /></a></td><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457124'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/Snotling2.gif' title="Peon" /></a></td><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457125'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/Snotling3.gif' title="Toejam" /></a></td><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457126'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/Snotling4.gif' title="Pustule" /></a></td><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457127'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/Snotling5.gif' title="Dead Meat" /></a></td><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457128'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/Snotling6.gif' title="Cannon Fodder" /></a></td><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457129'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/Snotling7.gif' title="Human Shield" /></a></td><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457130'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/Snotling8.gif' title="Swan Song" /></a></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324877' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324877' title='empty' /></td></tr><tr style='text-align:center;background:black;color:white;'><th colspan='16'>Past Players</th></tr><tr><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td><td style='text-align:center;'><img src='https://fumbbl.com/i/324878' title='empty' /></td></tr><tr><th style='background:#FFFFFF' colspan='2'>0-5</th><th style='background:#F8E0E0' colspan='2'>6-15</th><th style='background:#F6CECE' colspan='2'>16-30</th><th style='background:#F5A9A9' colspan='2'>31-50</th><th style='background:#F78181' colspan='2'>51-75</th><th style='background:#FA5858' colspan='2'>76-125</th><th style='background:#FE2E2E' colspan='2'>126-175</th><th style='background:#FF0000' colspan='2'>176+</th></tr></table>
<table style='border-spacing:0px;border-collapse:collapse;font-size:1em;background:white;border:1px solid black;'><tr style='text-align:center;background:black;color:white;'><th colspan='16'>Death List</th></tr><tr><td style='text-align:center;background:#FFFFFF;'><a href='https://fumbbl.com/FUMBBL.php?page=player&player_id=8457065'><img src='https://fumbbl.com/FUMBBL/Images/PlayerIcons/nlineman1.gif' title="Mark Fayne"</tr></table>
<a href="http://fumbbl.com/FUMBBL.php?page=group&op=view&group=7734"><img src="http://farm8.staticflickr.com/7150/6716428333_6260b93896_m.jpg"></a> |
_________________
|
|
cowhead
Joined: Oct 22, 2006
|
  Posted:
Jan 23, 2012 - 17:15 |
|
it's definately something to do with the team info table. because when i remove it from my bio everything fine. |
_________________
|
|
cowhead
Joined: Oct 22, 2006
|
  Posted:
Jan 23, 2012 - 17:21 |
|
I've managed to work it, thanks for all your help
I just deleted all the spaces between >< these thingamijigs |
_________________
|
|
Garion
Joined: Aug 19, 2009
|
  Posted:
Jan 23, 2012 - 17:26 |
|
ah right cool |
|
|
Garion
Joined: Aug 19, 2009
|
  Posted:
Feb 20, 2012 - 17:52 |
|
Okay, after the site changes alot of peoples tables don't look right.
I am at work so only have access to IE 7, at the moment but the buttons and tables look perfect to me now i have made the below changes. But let me know if it doesnt look right/good and I will sort it out when i get home
First of all The Hubba Banners -
HUBBA BANNER
Code: | <a href="http://fumbbl.com/FUMBBL.php?page=group&op=view&group=7734"><img src="http://farm8.staticflickr.com/7150/6716428333_6260b93896_m.jpg"></a>
|
HUBBA HUBBA BANNER
Code: | <a href="https://fumbbl.com/FUMBBL.php?page=group&op=view&group=7780"><img src="http://farm8.staticflickr.com/7150/6716428333_6260b93896_m.jpg"></a> |
To change the colour of the boxes find this bit of code in the HTML below and change the colour code to your team colours - The code you are looking for below is this - bgcolor="00FFCC"
This is where you get html colour codes from
To add player icons with a link to that player you do this -
<a href="http://fumbbl.com/FUMBBL.php?page=player&player_id=8457127"><img src="http://fumbbl.com/FUMBBL/Images/PlayerIcons/Snotling2.gif"title="Dead Meat killed in game 2"></a>
This bit of code from above - title="dead meat killed in game2" is what will be displayed when you move your mouse over the player.
the code in purple is the link to the player and the code in green is the image file for the player, these can be found in the help section, just find the roster of the team you killed a player in then find that positional right click on it and click properties in Internet explorer and copy and past the image link from there or in firefox just right click then left click on copy image location to get the image link. |
Last edited by Garion on %b %21, %2012 - %11:%Feb; edited 9 times in total |
|
cowhead
Joined: Oct 22, 2006
|
  Posted:
Feb 20, 2012 - 18:05 |
|
oh great add a link with one of my dead snotlings in it, talking about adding insult to injury (or in this case death), thanks a lot Garion |
|
|
Garion
Joined: Aug 19, 2009
|
  Posted:
Feb 21, 2012 - 11:29 |
|
Yay I have fixed it all here goes -
The bit in pink is where your banner goes the one in this example is for HUBBA, so if you are in HUBBA 2 then remove it and put the correct banner in from my previous post. The bits below in Bold are the colours in the table please change these to your team colours. using the html colour chart linked in my pervious post. make sure you do not delete any of these <!-- or these --> if you do then you may not be able to edit your page any more and the admin will not be happy if they have to keep messing with your HTML.
Finally where it says bodies go here and trophies go here, this is where you can put any trophies and awards you win, and any players your kill
<div align="center"><!--
--><a href="http://fumbbl.com/FUMBBL.php?page=group&op=view&group=7734"><img src="http://farm8.staticflickr.com/7150/6716428333_6260b93896_m.jpg"></a><!--
--></div>
<div align="center"><span><input type="button" value="Show Team Info" style='width:200px;font-size:10px;margin:0px;padding:0px;' onclick="if (this.value == 'Show Team Info') { 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 Info';}"></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 background:black><td style='text-align:left;background:black;'><!--
--><table width="700" border="1"><!--
--><tr><!--
--><td bgcolor="00FFCC"><font color="black"><b>Home City:</b></td><!--
--><td bgcolor="00FFCC"><font color="black">Wrestle Mania</td><!--
--></tr><!--
--><tr><!--
--><td bgcolor="yellow"><b>Stadium name:</b></td><!--
--><td bgcolor="yellow">Ring Side</td><!--
--></tr><!--
--><tr><!--
--><td bgcolor="00FFCC"><font color="black"><b>Captain:</b></td><!--
--><td bgcolor="00FFCC"><font color="black">Big Show</td><!--
--></tr><!--
--><tr><!--
--><td bgcolor="yellow"><b>History:</b></td><!--
--><td bgcolor="yellow"> The PW's are a new professional BB team, that recently received the backing of the WWE who have financed the team, backing them to win everything that is put in front of them. They started off a lowly Street Bowl team and have accumulated a great following from those that love to see their Elf balling ways and also those that love watching them die!</td><!--
--></tr><!--
--><tr><!--
--><td bgcolor="00FFCC"><font color="black"><b>Current Season:</b></td><!--
--><td bgcolor="00FFCC"><font color="black"> HUBBA Season 1</td><!--
--></tr><!--
--></table></table></span></div></span></div><!--
--><div align="center"><span><input type="button" value="Trophy Cabinet" style='width:200px;font-size:10px;margin:0px;padding:0px;' onclick="if (this.value == 'Trophy Cabinet') { 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 = 'Trophy Cabinet';}"></span><span><span style='display: none;'><br><div align="center">Trophies Go Here!</br></div><!--
--></span></div></span></div><!--
--><div align="center"><span><input type="button" value="Death List" style='width:200px;font-size:10px;margin:0px;padding:0px;' onclick="if (this.value == 'Death List') { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = ''; this.value = 'Hide the Bodies'; } else { this.parentNode.parentNode.getElementsByTagName('span')[1].getElementsByTagName('span')[0].style.display = 'none'; this.value = 'Death List';}"></span><span><span style='display: none;'><br><!--
--><div align="center">Bodies go here!</br></div></a></span></div> |
|
|
|