DS
Junior Member
Posts: 60
DS said 0 great things
|
Post by DS on Mar 2, 2009 6:35:13 GMT -8
yeah, i dont want it to expand, i just want it to sit in the bottom corner of the board.
|
|
|
Post by Wormopolis on Mar 2, 2009 6:46:54 GMT -8
look now
|
|
DS
Junior Member
Posts: 60
DS said 0 great things
|
Post by DS on Mar 2, 2009 7:18:09 GMT -8
almost perfect ;D can you make the box a little shorter in height, maybe i got my sizes wrong
|
|
|
Post by Wormopolis on Mar 2, 2009 11:25:33 GMT -8
Thats the thing.. its the CONTENT that is making it larger in height. You are trying to get 3 gallons of water into a 1 gallon water baloon. Its going to stretch to fit the contents. unless you want a scroll bar?
You want to take out the extra <br> tags in between each line?
|
|
DS
Junior Member
Posts: 60
DS said 0 great things
|
Post by DS on Mar 3, 2009 2:34:35 GMT -8
if you take out the extra <br> tags and make the members online numbers instead of names will that make it smaller and stop it stretching? if so, i'll take it
|
|
|
Post by Wormopolis on Mar 3, 2009 2:54:08 GMT -8
look now. The last possible thing we could do is reduce font size.
|
|
DS
Junior Member
Posts: 60
DS said 0 great things
|
Post by DS on Mar 3, 2009 3:06:16 GMT -8
yeah its still a little too big in height, i guess knocking the font size down is our last hope
|
|
|
Post by Wormopolis on Mar 3, 2009 3:17:52 GMT -8
changing width to 150, font size to 8pt, and deleting the word "Personal" yielded current result.
|
|
DS
Junior Member
Posts: 60
DS said 0 great things
|
Post by DS on Mar 3, 2009 3:37:47 GMT -8
PERFECT!!!
|
|
|
Post by Wormopolis on Mar 3, 2009 3:40:59 GMT -8
whew!
code: HTML portion:
<table id="HuskyTable" cellspacing="0" cellpadding="0" border="0" width="150" height="60" align="center" valign="top" style="display: none"> <tr> <td width="100%" style="font-size: 8"> <table border="1" style="border-color:0000FF; font-size:8" width="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" id="HuskyIC" style="font-size: 8"></td> </tr> </table></td></tr></table>
JS portion (below HTML):
<script type="text/javascript"> <!-- // Husky Style Info Center - in DIV // By Wormopolis // wormocodes.proboards.com
if (true) { var hideOriginalInfoCenter=true; // set to true to hide, false to leave there var usersOnlineJustBreakdown=true;
tds=document.getElementsByTagName('td'); dest1=document.getElementById("HuskyIC"); for (n=tds.length-1; n>0; n--) { if (tds[n].colSpan==2 && tds[n].className=="catbg" && tds[n].innerHTML.match(/forum statistics/i)) { tot_mem=tds[n].parentNode.nextSibling.firstChild.nextSibling.getElementsByTagName('td')[1].firstChild.innerHTML.split(/<br>/i)[0]; priv_msgs=( tds[n].parentNode.nextSibling.firstChild.nextSibling.getElementsByTagName('td')[1].firstChild.innerHTML.match(/personal messages/i) ? tds[n].parentNode.nextSibling.firstChild.nextSibling.getElementsByTagName('td')[1].firstChild.innerHTML.split(/<br>/i)[2] : "Welcome Guest!"); priv_msgs=priv_msgs.replace(/personal/i,""); online_now=tds[n].parentNode.nextSibling.nextSibling.nextSibling.firstChild.nextSibling.innerHTML; online_now_breakdown=online_now.split(/<br>/i)[0].split('.')[0];
if (hideOriginalInfoCenter) tds[n].parentNode.parentNode.parentNode.parentNode.parentNode.style.display="none";
newstuff=tot_mem+"<br>Users Online:<br>"+(usersOnlineJustBreakdown ? online_now_breakdown: online_now)+"<br>"+priv_msgs;
dest1.innerHTML=newstuff;
vf=document.getElementById("HuskyTable"); vf.getElementsByTagName('font')[0].size=""; vf.getElementsByTagName('font')[0].style.fontSize="8"; vf.style.display=""; break; } } } //--> </script>
|
|
DS
Junior Member
Posts: 60
DS said 0 great things
|
Post by DS on Mar 3, 2009 3:47:59 GMT -8
err, i entered the code and nothing appears
|
|
|
Post by Wormopolis on Mar 3, 2009 3:55:57 GMT -8
OMG I did it again...
recopy...
|
|
DS
Junior Member
Posts: 60
DS said 0 great things
|
Post by DS on Mar 3, 2009 4:00:19 GMT -8
LOL, sorted, last thing how can i move it? ;D
|
|
|
Post by Wormopolis on Mar 3, 2009 4:01:54 GMT -8
where does it put it when its in your global footers?
EDIT: wrap a DIV tag around the table for me. so I can see what offsets need to be.
|
|
DS
Junior Member
Posts: 60
DS said 0 great things
|
Post by DS on Mar 3, 2009 4:05:43 GMT -8
|
|