Jump to content

Static Nav Bar


nos

Recommended Posts

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
https://forums.phpfreaks.com/topic/43867-static-nav-bar/#findComment-213229
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
https://forums.phpfreaks.com/topic/43867-static-nav-bar/#findComment-217035
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.