PDA
$threadinfo[title]
-


Renegade
December 20th, 2001, 13:37
do you know what I mean? a navigational bar at the side of a page, except that it's not contained in a frame, and when you scroll down, it also scrolls down. how do you do that!!

for an example, look at emuhelp.com/ .


how to do it?

mesman00
December 20th, 2001, 15:17
you need to put it in a table, like for example, make ur pages have two tables, one for the left side of page (which will be the navigational bar) and then one for the main part of the page, which will be where you put everything else. then if you want tables inside thre two tables,u can do that. this is probably confusing as hell, so you might wanna wait for another response that includes the html. i'm in school right now and i don't have the time to do it rightnow to show you.

Renegade
December 21st, 2001, 07:00
yes but it's infuriating to do tables for every page, and besides when I want to update the navigational bar, I have to do the same to every single page's bar!

Acorn
December 21st, 2001, 08:07
You can make a template, that way its easier... so you don't have to do the sidebar every time.

Or, just use Frontpage (2k or 2002, below that sucks) it makes using tables soooo easy.

Eagle
December 21st, 2001, 08:14
You can also put it in a frame.

mesman00
December 21st, 2001, 17:24
i hate frames, my site is in frames, and it loads slow if u have 56K or below, but it all depends on the server andh ow many frames the page is

Eagle
December 21st, 2001, 19:21
Yah, I hate frames too, but I was just suggesting one way of getting the result he wanted.

Renegade
December 22nd, 2001, 10:32
template? How? Dreamweaver 4 or Microsoft Frontpage 2000?

Keith
December 28th, 2001, 15:51
that's what SSI is for :p

Just make the tables like explained above, but just make a basic template that you can use for all your pages. Then for the menus use SSI (server side includes). For example you have a main menu and when you update it you don't want to go around to all your pages and updating each and everyone right? So you put the menu content into a text file (html code is ok for this).

So now you have a text file with all your menu content in it. Lets say you use it for a nvaigation menu, so you have your links in it like this:

<a href="whateverthelinkaddyis">Main Site</a><br>
<a href="whateverthelinkaddyis">Downloads</a><br>
<a href="whateverthelinkaddyis">Reviews</a><br>
<a href="whateverthelinkaddyis">Whatever</a><br>

Now save this text file as let's say news.txt and then upload this to you main directory.

Ok now back to the template add this SSI code

<!--#include virtual="news.txt" -->

where you want the menu to show up for example let's say you have it in a cell:

<td width="130">
<!--#include virtual="news.txt" -->
</td>

Ok now save all your pages with the .shtml file extension (most servers need the "s" added to html to work correctly). If your server supports SSI then it should work, and the menu should show up. Well now that I probably confused the hell out of you I am going to end this post. :D

RatTrap
December 30th, 2001, 11:45
took him 8 days to get the response he needed.. lol.. geez.. nice going keith.. but maybe it would be also nice to explain the file version of using SSIs.. since it can come to very good use :).. if all you use is file instead of virtual.. and your not working on the root of the website.. you can move whole trees of parts of websites around.. without having to change the dirs.. helps alot when your building bigger sites..