Previous Thread
Next Thread
Print Thread
Rate Thread
#252632 06/29/2003 12:10 PM
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
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?

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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.


Last edited by JoshPet; 06/29/2003 1:33 PM.
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
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.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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>

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Hmmm, something still not quite right.

Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
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.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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>

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Yes left for me but just like what they did on the right.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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....

Sponsored Links
Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Oh, I also have the integraded chat room and when I use the code it just makes that table on the side.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
OK, thats good to know, I do have the older popup version but was going to do the new one.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Ahh, just reread your post, I wouldn't really need the sidebar on the chat page either way.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
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.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
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?

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Yeah, just leave the "off" option out of edtibasic. Only give them the left/right choice.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
Sweet, I will check that mod out.

Joined: Aug 2002
Posts: 218
Member
Member
Offline
Joined: Aug 2002
Posts: 218
You can also use the SIDEBAR hack to make this working. Check out the Hack Archive on this page to find it.

Joined: Jul 2001
Posts: 442
Enthusiast
Enthusiast
Offline
Joined: Jul 2001
Posts: 442
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?

Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
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.

#252653 07/20/2003 7:47 AM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
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">

Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
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.

#252655 07/20/2003 11:55 AM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
well the code posted above is the exact sidebar templates SO IT SHOULD WORK.

Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
Ok, I got it!

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

Thanks for the help.

#252657 07/20/2003 3:35 PM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Yep it looks about right.

Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
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!


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)