|
Post by Nightwalker on Jul 8, 2010 18:16:04 GMT -6
|
|
|
Post by iPokemon.php on Jul 8, 2010 18:27:12 GMT -6
Let's see. It doesn't scroll, but it looks normal Can you post the code here again?
|
|
|
Post by Nightwalker on Jul 8, 2010 18:34:31 GMT -6
i think i know what happend with the not floating...
here are the final things that need done
Make the text change when the table is collapsed a cookie to remember when someone collapses the table...
|
|
|
Post by iPokemon.php on Jul 8, 2010 19:20:56 GMT -6
Okay, I'll get this together in a second.
|
|
|
Post by Nightwalker on Jul 8, 2010 19:26:55 GMT -6
thanks you will get your name in the header of this one
|
|
|
Post by iPokemon.php on Jul 8, 2010 19:35:21 GMT -6
|
|
|
Post by Nightwalker on Jul 8, 2010 19:49:49 GMT -6
sorry i SUCK...what did i do wrong?
|
|
|
Post by iPokemon.php on Jul 8, 2010 19:54:40 GMT -6
First of all, your table has horrible structure. lol, not to offend you or anything, but you need to end your tags as soon as possible. Fix this first.. Here is an example.. maybe you can do it yourself.
<table stuff> <tr> <td width="100%" class="windowbg"> Stuff </td> </tr> <tr> <td width="100%" class="windowbg"> Stuff </td> </tr> </table>
|
|
|
Post by Nightwalker on Jul 8, 2010 20:03:06 GMT -6
well i messed that up too...
|
|
|
Post by iPokemon.php on Jul 8, 2010 20:12:50 GMT -6
Fine.. i'll do it myself I'll edit this post. <table id="floatBox" cellspacing="1" cellpadding="0" border="0" align="left" valign="top" width="200" bgcolor="0066FF" class="bordercolor"> <tr> <td width="100%" class="titlebg" align="center"> <a href="javascript: hideShow('fBoxBody');">Hide Floating Box</a> </td> </tr> <tbody id="fBoxBody"> <tr> <td class="titlebg" align="center" width="100%"> <font size=2>Welcome</font> <table border="0" width="100%" cellpadding="2" cellspacing="0"> <tr> <td align="left" valign="top" class="welcomebg" bgcolor="CCCCFF"> <center><div id="welcomeMessage"></div> <br /> <div id="jumpintable"></div></center></td></tr> <tr> <td class="titlebg" align="center" width="100%"> <font size=2>Staff</font> </td></tr> <tr> <td align="left" valign="top" class="welcomebg" bgcolor="CCCCFF"> <center><div id="staffinfo"></div></center></td> </tr> <tr> <td class="titlebg" align="center" width="100%"> <font size=2>Affiliates</font> </td> </tr> <tr> <td align="left" valign="top" class="welcomebg" bgcolor="CCCCFF"> <marquee><div id="affiliateinfo"></div></marquee> </td></tr> </tbody> </table>
|
|
|
Post by Nightwalker on Jul 8, 2010 20:14:05 GMT -6
never mind i got it..i think
now about the cookies
|
|
|
Post by iPokemon.php on Jul 8, 2010 20:25:52 GMT -6
Okay, stick this in your Javascript:
var cookie_data = document.cookie.split(";");
for(a = 0; a < cookie_data.length; a++){ if(cookie_data[a].match(new RegExp("id:(.+?)=0($|;)","i"))){ if(document.getElementById(RegExp.$1)) document.getElementById(RegExp.$1).style.display = "none"; } }
function toggle(_id){
var obj = document.getElementById(_id);
if(obj.style.display == ""){ obj.style.display = "none"; document.cookie = "id:" + _id + "=0;expires=Sat, 20 Jan 3000 12:12:12 UTC; path=/;"; } else { obj.style.display = ""; document.cookie = "id:" + _id + "=0;expires=Sat, 20 Jan 2000 12:12:12 UTC; path=/;"; } }
Don't edit it
|
|
|
Post by Nightwalker on Jul 9, 2010 10:29:21 GMT -6
i did exactly what you said and the HTML is messed up...and it still dosn't remember that the box is hidden
|
|
|
Post by Nightwalker on Jul 9, 2010 10:29:49 GMT -6
would you like for me to let you get on the test admin account so you can do it?
|
|
|
Post by iPokemon.php on Jul 9, 2010 10:33:52 GMT -6
Sure. PM me the details.
|
|