Menus

liunx

Guest
I am trying to write a page which has a menu in one div, and the rest of the content in other divs [no frames or tables!].<br />
<br />
The site will consist of many pages leading from the index page, and the menu will point to these other pages.<br />
<br />
In each of these other pages I would also like the menu div present, so you don't have to go back to the main page first before going to others.<br />
<br />
Unfortunately, this means each time the menu is updated, I have to rewrite and upload each individual page.<br />
<br />
The solution I would really like is to be able to load the menu details into the div externally. Sadly, I know little or nothing about server side scripts. Are there any other ways?<br />
<br />
Nicholas Hill<!--content-->Here is a link that gives information about reading a text file:<br />
<br />
<!-- m --><a class="postlink" href="http://www.faqts.com/knowledge_base/view.phtml/aid/1268/fid/126/lang/en">http://www.faqts.com/knowledge_base/vie ... 26/lang/en</a><!-- m --><br />
<br />
It also mentions using a hidden iframe which would be supported by all DOM-compliant browsers.<!--content-->Originally posted by gil davis <br />
Here is a link that gives information about reading a text file:<br />
<br />
<!-- m --><a class="postlink" href="http://www.faqts.com/knowledge_base/view.phtml/aid/1268/fid/126/lang/en">http://www.faqts.com/knowledge_base/vie ... 26/lang/en</a><!-- m --><br />
<br />
It also mentions using a hidden iframe which would be supported by all DOM-compliant browsers. <br />
<br />
Bah. I would go the server side route. That javascript based version, if I read it correctly, isn't going to work if JavaScript is disabled. Even then, it's more more code than what is really needed.<br />
<br />
Include on every page (<!-- m --><a class="postlink" href="http://httpd.apache.org/docs/howto/ssi.html#includingastandardfooter">http://httpd.apache.org/docs/howto/ssi. ... dardfooter</a><!-- m -->)<!--content-->Originally posted by cnh <br />
I am trying to write a page which has a menu in one div, and the rest of the content in other divs [no frames or tables!].Since a menu is a list of links, rather than <div>'s use unordered lists (<ul>). A good menu that does this is UDM4 (<!-- m --><a class="postlink" href="http://www.udm4.com/">http://www.udm4.com/</a><!-- m -->).<!--content-->
 
Back
Top