Ask Experts Questions for FREE Help!
Ask    ||    Answer
 
Advanced  
 

Ask QuestionsprogressAnswer QuestionsprogressBuild ReputationprogressBecome an Expert
 
Free Answers in 3 Easy Steps

Register Now
3 Steps

At Ask Me Help Desk you can ask questions in any topic and have them answered for free by our experts. To ask questions or participate in answering them you must register for a free account. By registering you will be able to:
  • Get free answers from experts in any of our 300+ topics.
  • Accept money for answers that you provide.
  • Communicate privately with other members (PM).
  • See fewer ads.

Home > Computers & Technology > Programming > Markup Languages > CSS   »   Opening nav menu content in main content column

 
Thread Tools Search this Thread Display Modes
Question
 
 
#1  
Old Apr 20, 2008, 12:58 AM
lee69
New Member
lee69 is offline
 
Join Date: Apr 2008
Posts: 1
lee69 See this member's comment history on his/her Profile page.
Opening nav menu content in main content column

You will have to excuse me because i am quite new to CSS. I am trying to create a personal website using style sheets - with a basic two column layout with a header and footer. I have created the elements of the front page and have the navigatin bar on the left (Home, About me, etc) but i am unsure how to code it so that when one of the links on th nav menu on the left is clicked - it will open the page in the central column (main content column) without removing the nav bar menu/header and footer.

I seem to be fine gettin the first page up and running, just getting lost when i attempt to link to additional pages.

Basically want my site to open everything in the main content window - keeping the menu's on the left all the time. Like the following site does:

24houhtmlcafe.com


Any help would be appreciated

Reply With Quote
 
     

Answers
 
 
Old Apr 23, 2008, 09:59 AM   #2  
Full Member
robertva is offline
 
Join Date: May 2007
Posts: 249
robertva See this member's comment history on his/her Profile page.
You could use Javascript to change the source property of a HTML "frame" within a "Frameset". It's possible to nest one frameset within another to obtain the combination of header and footer with a navigation menu on the left. See a narrative with examples at DOCUMENTATION - All HTML-TAGS & BUILT-IN JAVASCRIPT OBJECTS

An alternative would be to use a HTML "IFRAME" DOCUMENTATION - All HTML-TAGS & BUILT-IN JAVASCRIPT OBJECTS

Both of these HTML tags have alignment and float properties you can set with inline or external styles. Theoreticaly some browsers don't support framesets and/or iframes, but a large majority of visitors will probably be using browsers that are compatible with those tags.

the index for the reference linked to above is at EchoEcho.Com - HTML tag Reference
  Reply With Quote
 
     
 
 
Old Apr 23, 2008, 10:52 AM   #3  
Senior Member
retsoksirhc is offline
 
retsoksirhc's Avatar
 
Join Date: Mar 2004
Location: Michigan
Posts: 907
retsoksirhc See this member's comment history on his/her Profile page.
Send a message via AIM to retsoksirhc
Nice suggestion, robert.

You can also use javascript to change the source of a DIV. I've only just started working with DIV's so I'm not sure exactly how you would accomplish this, but I'm pretty sure you could do it...I just don't know how to align them.

For reference, the javascript property innerHTML is the one you would use to change the HTML source of the div.


For menu's I usually just write the page up with regular ol HTML, even if it includes some CSS. I usually use tables, though...the menu goes in one cell, the page in another. If you put the menu in it's own file, and you have accses to PHP, you can just do an include(); on the menu script and all is well.
  Reply With Quote
 
     

Your Answer
Email me when someone replies to my answer
Join Login





Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

 
Similar Sponsors


Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page

Similar Threads
Content blockers
(3 replies)
I am content
(0 replies)
Article-content
(1 replies)
Content Advisor
(3 replies)
cONTENT aDVISOR
(7 replies)

Search this Thread

Advanced Search

Bookmarks

Sponsors



Copyright ©2003 - 2009, Ask Me Help Desk.
All times are GMT -8. The time now is 06:58 PM.