Ask Experts Questions for FREE Help!
  Advanced
Register  |  Log in  
   Ask    
 Answer  
  Help  

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

 
Question Tools Search this Question Display Modes
Question
 
 
#1  
Old Apr 19, 2008, 11:58 PM
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, 08:59 AM   #2  
robertva
Junior Member
robertva is offline
 
Join Date: May 2007
Posts: 84
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, 09:52 AM   #3  
retsoksirhc
Senior Member
retsoksirhc is offline
 
retsoksirhc's Avatar
 
Join Date: Mar 2004
Location: Michigan
Posts: 742
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
 
     


Question Tools Search this Question
Search this Question:

Advanced Search
Display Modes

 
Similar Sponsors

Similar Questions
Question Asker Topic Answers Last Post
Content blockers MJ92RS Other Security 3 Jun 18, 2007 09:48 AM
I am content xiaocake Dating 0 May 18, 2007 08:42 PM
Article-content LeifBusk Internet Marketing 1 Jan 18, 2007 05:35 AM
Content Advisor mbone Internet & the Web 3 Aug 29, 2005 06:42 PM
cONTENT aDVISOR mbone Other Security 7 Aug 29, 2005 08:12 AM




Copyright ©2003 - 2007, Ask Me Help Desk.
All times are GMT -8. The time now is 11:21 AM.

Content Relevant URLs by vBSEO 3.0.0 RC6 © 2006, Crawlability, Inc.