PDA

View Full Version : how do i fix this so the menu frame shows up on all pages?


stuy
06-20-2009, 03:59 PM
i'm new to frames and framesets. what i am trying to accomplish is to make a nav menu for my site that shows up on the left of all pages, so that the frame to the right scrolls without the menu frame scrolling. that way, people don't have to scroll bck up to get to the links. i got it to work on my first page. here's where i am. as long as you start on the index page, all the links are prompted to open in the right side. however, if you were to maually type in one of the link extensions, you would only see the right side frame without the nav menu. thus- not being able to navigate back to the rest of my site. i've posted some temps online to show this.
first go to: http://cstuartonline.com/index_temp (http://cstuartonline.com/index_temp) and click on some links to the left. they open in the right. so far so good.
now go straight to the about page as if it were found on a search engine: http://cstuartonline.com/about (http://cstuartonline.com/about) see what i mean. how do i fix this so the menu frame shows up on all pages?

Corrosive
06-20-2009, 04:05 PM
i'm new to frames and framesets. what i am trying to accomplish is to make a nav menu for my site that shows up on the left of all pages, so that the frame to the right scrolls without the menu frame scrolling. that way, people don't have to scroll bck up to get to the links. i got it to work on my first page. here's where i am. as long as you start on the index page, all the links are prompted to open in the right side. however, if you were to maually type in one of the link extensions, you would only see the right side frame without the nav menu. thus- not being able to navigate back to the rest of my site. i've posted some temps online to show this.
first go to: http://cstuartonline.com/index_temp (http://cstuartonline.com/index_temp) and click on some links to the left. they open in the right. so far so good.
now go straight to the about page as if it were found on a search engine: http://cstuartonline.com/about (http://cstuartonline.com/about) see what i mean. how do i fix this so the menu frame shows up on all pages?

Firstly, great looking site. Really cool. Secondly, steer well clear of frames and frame sets for web design. Build your site with individual pages all having the menu on them and then link them all together.

stuy
06-20-2009, 04:25 PM
thanks. i have done that in the past, but i hate how you have to scroll back up to get to the menu or you have to add links at the bottom to take you back to the top, etc. i was hoping to make it so the menu was always visible. i have seen this on page builders like http://www.indexhibit.org/

i would use theirs, but it's a pain to go third party build. do you know a way i can achieve that format? it probably requires some action script, huh?

Corrosive
06-20-2009, 04:29 PM
thanks. i have done that in the past, but i hate how you have to scroll back up to get to the menu or you have to add links at the bottom to take you back to the top, etc. i was hoping to make it so the menu was always visible. i have seen this on page builders like http://www.indexhibit.org/

i would use theirs, but it's a pain to go third party build. do you know a way i can achieve that format? it probably requires some action script, huh?

Why don't you put your content in a scrolling div (overflow: auto/scroll) and that way you will achieve the effect you want without messing about with frames? You can style scrollbars to match your site with some simple javascript (jquery do one I think).

DWcourse
06-20-2009, 04:50 PM
Or put your menu in a dive with position: fixed so it won't scroll with the page.

Corrosive
06-20-2009, 04:54 PM
There you go. Two solutions without frames. I'd seriously consider dropping them.

stuy
06-20-2009, 04:58 PM
ok. consider them dropped. which way is easier and how do i do that?

Corrosive
06-20-2009, 05:04 PM
ok. consider them dropped. which way is easier and how do i do that?

I'd try DWCourse's solution for ease of use. You'll basically have a two column layout with menu on the left (position: fixed;) <<< bloody smilies and content on the right. How much CSS have you done before?

stuy
06-20-2009, 05:11 PM
sounds easy enough. i haven't done any css. i use dreamweaver crudely. pretty much limited to tables, text, and images. lol. i'm not a web designer. i'm actually a product designer. i need to take the time to learn more, for sure. i'll give this a try and let you know.

Corrosive
06-20-2009, 05:15 PM
sounds easy enough. i haven't done any css. i use dreamweaver crudely. pretty much limited to tables, text, and images. lol. i'm not a web designer. i'm actually a product designer. i need to take the time to learn more, for sure. i'll give this a try and let you know.

Ah right, OK. You'll need to bone up on CSS for layout to start with. Try starting here...

http://w3schools.com/css/css_intro.asp

It's not that hard once you get into it and you'll be glad you did.

stuy
06-20-2009, 05:25 PM
thanks for the link and advice. i'll start digging into it.

stuy
06-20-2009, 05:36 PM
ok. stupid question i'm sure. -now that i'm working on one table... the menu items had a cell padding of 0 while the right table had a cell padding of 5. when al are at 5, the menu items have too much spacing. is there a way to make each column have it's own? and now that i am at this point, how do i put a column into a fixed position? i don't see the option anywhere.

Corrosive
06-20-2009, 05:43 PM
ok. stupid question i'm sure. -now that i'm working on one table... the menu items had a cell padding of 0 while the right table had a cell padding of 5. when al are at 5, the menu items have too much spacing. is there a way to make each column have it's own? and now that i am at this point, how do i put a column into a fixed position? i don't see the option anywhere.

Sending you a PM

stuy
06-20-2009, 05:48 PM
k. just changed my settings to allow emails.

Corrosive
06-20-2009, 05:56 PM
k. just changed my settings to allow emails.

No need. I have sent you a forum PM. Check the link under your name, top right.