UBB.Dev
Posted By: coloradok5 Small left hand table - 06/29/2003 7:10 PM
I want to move some links etc. from the top of my forum (header) and have them displayed on the left hand side, how would I do this? Maybe use a table?
Posted By: JoshPet Re: Small left hand table - 06/29/2003 8:08 PM
Have your header end with:

<table width="100%" border="0" cellspacing="2" cellpadding="2"><tr><td width="20%" valign="top">


Put your left sidebar stuff here


</td><td valign="top">







Then at the top of your footer - put this:

</td></tr></table>


That should do it.

Posted By: coloradok5 Re: Small left hand table - 06/29/2003 8:28 PM
Oops, I need it to go along side the forums though, not just the side of the header. When I did this it put the table in the header and just pushed the forums down.
Posted By: JoshPet Re: Small left hand table - 06/29/2003 8:33 PM
My mistake - didn't need the <tr> tags in the middle. I just edited the section above that would go after the sidebar removing the </tr> and the <tr>
Posted By: coloradok5 Re: Small left hand table - 06/29/2003 8:48 PM
Hmmm, something still not quite right.
Posted By: JoshPet Re: Small left hand table - 06/29/2003 8:50 PM
Can you explain?

I just tested the above.

www.joshuapettit.com

Very simple table.

Do you have a link, I can probably tell what's going wrong.
Posted By: coloradok5 Re: Small left hand table - 06/29/2003 8:52 PM
I just need something like what http://ls1tech.com has on the right hand side of their site, a table that goes the length of the table so I can put links there.
Posted By: JoshPet Re: Small left hand table - 06/29/2003 8:57 PM
You said left.

To do it on the right side...... the sidebar part goes in the footer.

This part would go in the header:

<table width="100%" border="0" cellspacing="2" cellpadding="2"><tr><td width="20%" valign="top">
<tr><td valign="top">



Then in your footer you would put:


</td>><td width="20%" valign="top">

Put your sidebar HTML here

</td></tr><table>
Posted By: coloradok5 Re: Small left hand table - 06/29/2003 8:58 PM
Yes left for me but just like what they did on the right.
Posted By: JoshPet Re: Small left hand table - 06/29/2003 8:59 PM
Then what I posted first does that......

Just put whatever HTML you want where I say "Put your left sidebar stuff here".

use whatever HTML you want there - construct a table - add graphics, add links etc....
Posted By: coloradok5 Re: Small left hand table - 06/29/2003 9:00 PM
Oh, I also have the integraded chat room and when I use the code it just makes that table on the side.
Posted By: JoshPet Re: Small left hand table - 06/29/2003 9:02 PM
The newest "popup free" chatroom uses iFrames and so it won't work with a sidebar. You might need to use the older mod (with the popup window) if you need the sidebar to appear on the chat page.
Posted By: coloradok5 Re: Small left hand table - 06/29/2003 9:04 PM
OK, thats good to know, I do have the older popup version but was going to do the new one.
Posted By: coloradok5 Re: Small left hand table - 06/29/2003 9:05 PM
Ahh, just reread your post, I wouldn't really need the sidebar on the chat page either way.
Posted By: JoshPet Re: Small left hand table - 06/29/2003 9:06 PM
If you used the Sidebar modificaton - then you could turn it off on select pages and users could choose to have it left / right or off.
Posted By: coloradok5 Re: Small left hand table - 06/29/2003 9:10 PM
OK, without reading 300 pages of posts would there be a way to keep the sidebar on so that no one would have the option of turning it off?
Posted By: JoshPet Re: Small left hand table - 06/29/2003 9:11 PM
Yeah, just leave the "off" option out of edtibasic. Only give them the left/right choice.
Posted By: coloradok5 Re: Small left hand table - 06/29/2003 9:16 PM
Sweet, I will check that mod out.
Posted By: jluerken Re: Small left hand table - 07/07/2003 11:35 AM
You can also use the SIDEBAR hack to make this working. Check out the Hack Archive on this page to find it.
Posted By: coloradok5 Re: Small left hand table - 07/17/2003 12:30 AM
Well I tried this again and I think the problem is when my chat room display hack displays "There is also 1 User in the Chat Room. Go and Join Them!" in the table under the nav bar, when that is displaying all the forums get pushed down instead of moved to the right, any way around this?
Posted By: Zackary Re: Small left hand table - 07/20/2003 10:54 AM
I'm doing something similar to this and using the suggestions already posted, I have it almost working.

But, what I'm trying to do is create a small table to the left of the main table. This will be a navigational menu for my websites. I don't want it next to the header, but below and to the left of it.

I won't be displaying it on the forum, just on my other integrated, informational pages.

What I'm having problems with is closing the table and keeping it to the left, without the style wrapping around the right table. I'm close, but if you view what I've done up until this point, you'll get what I'm talking about I think.

Suggestions?

Here's the link:

Integrated Page

Thanks all.
Posted By: omegatron Re: Small left hand table - 07/20/2003 2:47 PM
Basically what you need for the sidebar is this code

TO OPEN:

<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td align="center" valign="top" width="15%">

MENU STUFF HERE

</td>
<td width="10">
 
</td>
<td align="center" valign="top">

TO CLOSE:

</td>
</tr>
</table>

From what I see you have find this:

<br />
<!-- Menu goes here -->
<table align="center" width="95%" border="0" cellspacing="1" cellpadding="3" class="tablesurround">

Change to:

<br />
<!-- Menu goes here -->
<table align="center" width="95%" border="0" cellspacing="0" cellpadding="0">
Posted By: Zackary Re: Small left hand table - 07/20/2003 6:25 PM
Thanks Chuck, really close, but I was trying to do it with the tablesurround class to give the menu borders some weight, like the text area to the right. Made the changes you suggested. Will get back to work on it a little later.

This might work for me yet though. Thinking about it. Closest I've been so far.

Thanks again.
Posted By: omegatron Re: Small left hand table - 07/20/2003 6:55 PM
well the code posted above is the exact sidebar templates SO IT SHOULD WORK.
Posted By: Zackary Re: Small left hand table - 07/20/2003 8:01 PM
Ok, I got it!

Just need to tweak the table sizes to make them line up the way I want.

Thanks for the help.
Posted By: omegatron Re: Small left hand table - 07/20/2003 10:35 PM
Yep it looks about right.
Posted By: Zackary Re: Small left hand table - 07/21/2003 7:11 AM
What actually happened was that I was using the class tablesurround in the wrong table tag after adding in the code you mentioned. Oops!

I've actually ported most of my guild EverQuest site over already today. Tons more work to do though.

Thanks again for the assist!
© UBB.Developers