nos Posted March 22, 2007 Share Posted March 22, 2007 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 Quote Link to comment Share on other sites More sharing options...
boo_lolly Posted March 22, 2007 Share Posted March 22, 2007 what does this have to do with object oriented programming? Quote Link to comment Share on other sites More sharing options...
nos Posted March 23, 2007 Author Share Posted March 23, 2007 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. Quote Link to comment Share on other sites More sharing options...
BlackenedSky Posted March 28, 2007 Share Posted March 28, 2007 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.