Jump to content

Static Nav Bar


nos

Recommended Posts

What I wanna do is have a nav bar down the left which stays still, where you can scroll down the content in the main page. I hear frames are not good for seo and cause other problems. Could any one share a better solution please

Link to comment
Share on other sites

The problem Im facing is with passing values. Im having difficulty using frames, because just say I have the nav bar down the left hand side in a frame, click on the link, and I want the value to be passed to the second frame on the right to change the content, however obviously the page reloads in the frame on the left, not the main frame in the middle. So I wanna use PHP to get the values that are passed to update the middle frame.

 

So allow me to rephrase my origional question, can you pass values from one frame(frame1) to another frame (frame2), and make frame 2 refresh. I hear frames are crap so I was thinking of some alternatives.

Link to comment
Share on other sites

use divs and css to position them.

if you want the nav bar to stay always in view on the left, either use javascript to constantly move it down the page as the user scrolls,

 

OR (better)

 

add in an overflow to the div containing the content so only that scrolls, instead of the whole page

 

i.e

<div style="position:absolute;top:0px;left:0px;height:123; width 200px;">

asdfasdfasdf

</div>

<div style="position:absolute;top:0px;left:200px;height:123; overflow:auto">

asdfasdf

</div>

 

but obviously tidier

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.