rachel8889
Not New Member
Posts: 34
rachel8889 said 1 great things
|
Post by rachel8889 on Feb 10, 2011 20:30:21 GMT -8
Ok so I have hidden my boards and replaced them by placing their links in sidebars. What I want is the lone category bar to go away, be hidden, something. I have tried the forum name/last post code but it doesn't take the whole thing off. Here is my site so perhaps you can see what I want: www.planetofeden.proboards.comI hope it's not too much trouble.
|
|
|
Post by Wormopolis on Feb 10, 2011 22:17:41 GMT -8
as a guest I cant see the categories at all, so what I suspect will be the easiest thing to do: go into each category and set it to be hidden.
or am I not seeing something I should be?
|
|
rachel8889
Not New Member
Posts: 34
rachel8889 said 1 great things
|
Post by rachel8889 on Feb 11, 2011 10:32:26 GMT -8
No, even as a member you wouldn't see the categories. I've already hidden them. There is this bar thing that is still there though. But I guess it would be ok if I could either fix the newsfader to be longer and so the message wouldn't fade. Either that or have the top middle message box to where it stays only on the main page rather than being on every page. I figured putting the code for the box in the main header rather than global would set it for only the main page. Guess not.
|
|
|
Post by Wormopolis on Feb 11, 2011 14:18:16 GMT -8
post a picture of what you are seeing then, because I dont see the category bar at all.
|
|
rachel8889
Not New Member
Posts: 34
rachel8889 said 1 great things
|
Post by rachel8889 on Feb 14, 2011 14:52:25 GMT -8
Well nevermind that. What about making the table between the sidetables only on the main page instead of every page. I thought putting it in the main header would do that but obviously not. Anything you can do?
|
|
|
Post by Wormopolis on Feb 14, 2011 17:14:40 GMT -8
you mean that newcomers table?
|
|
rachel8889
Not New Member
Posts: 34
rachel8889 said 1 great things
|
Post by rachel8889 on Feb 14, 2011 19:31:30 GMT -8
yes sir
|
|
|
Post by Wormopolis on Feb 14, 2011 22:43:45 GMT -8
well you CAN actually put that in global headers and have it only show on main page.
to start off, put that table in global headers, and give it a unique id, like id="newcomertable" and also give it a style="display: none"
so for example
<table id="newcomertable" style="display: none">
if you have other attributes to that table already just add the two new ones in before the closing > mark.
let me know when you have that done.
|
|
rachel8889
Not New Member
Posts: 34
rachel8889 said 1 great things
|
Post by rachel8889 on Feb 15, 2011 2:27:38 GMT -8
I have done that. Now it is above everything instead of between the sidetables and it has messed up the code for the message sidetable.....
<table id="newcomertable" style="display: none"> <br><table width="25%" cellpadding="4" cellspacing="1" align="center" class="bordercolor";> <tr> <td class="titlebg" width="25%" colspan="2" height="25" align="center"> <font size="2" color="9999FF"> New Comers! Please read: </font> </td> </tr> <tr> <tr> <td width="30%" class="windowbg" vAlign="top"> <div style="overflow: auto; width: 550px; height: 200px;"> <center> <b>Welcome To Eden! <b><br>This is a Sailor Moon based roleplay site where you can create your own character in the character registration board or you can apply for a Virtue Senshi in the Cannon Character board.</br>
<b><br>The Virtue Senshi </b></br> <b>Protectors of the innocent and rulers of Eden</b></br> <b></b> <b>Given powers from God, himself, to fight the evil Impure Dominion and find the Angel of Virtue, Purity, the Virtue Senshi fight The Queen of the Impure Dominion and reveal the Angel of Virtue. After defeating the Impure Dominion, a new planet called Eden is created by God and he appoints the Virtue Senshi as the soul protectors of the Garden of Eden.</b></br>
</td> </tr> </table><br>
|
|
|
Post by Wormopolis on Feb 15, 2011 8:16:40 GMT -8
<table id="newcomertable" style="display: none"> <br><table width="25%" cellpadding="4" cellspacing="1" align="center" class="bordercolor";>
needs to be
<br><table width="25%" cellpadding="4" cellspacing="1" align="center" class="bordercolor" id="newcomertable" style="display: none">
|
|
rachel8889
Not New Member
Posts: 34
rachel8889 said 1 great things
|
Post by rachel8889 on Feb 15, 2011 9:20:54 GMT -8
I that and now the table is completely gone. Should the display be something other than none?
|
|
|
Post by Wormopolis on Feb 15, 2011 13:02:16 GMT -8
nope it was supposed to be gone. that is what the display: none part was for.
we did that so it could hang out in global headers above your side tables.
now in the main header (or footer if you want it to load a little slower), put this:
<script type="text/javascript"> if (pb_action=='home') document.getElementById('newcomertable').style.display=''; </script>
|
|
rachel8889
Not New Member
Posts: 34
rachel8889 said 1 great things
|
Post by rachel8889 on Feb 15, 2011 13:30:34 GMT -8
Alright, well it worked so I'm happy about that. I just didn't want it above the sidetables. I wanted it between them. If it's too much trouble or if I'm just getting on your nerves then it's no big deal but I would just rather it be between the sidetables.
|
|
|
Post by Wormopolis on Feb 15, 2011 15:11:46 GMT -8
you just need to move the table you made to the bottom of the side tables code HEADER part. that way it processes the left side table, then your special table, then the forum, then the right side tables.
make sure the script part I gave you happens AFTER the table part. probably at this point it would be safest to move the script part to below the side tables FOOTER part so that it doesnt get parsed too early.
|
|
|
Post by Wormopolis on Feb 15, 2011 15:12:44 GMT -8
and you arent getting on my nerves. I wouldnt have this section if I didnt want to help people.
|
|