htcilt
03-11-2010, 09:50 PM
Hi,
I'm wanting to build a pages(s) with a vertical left menu in css.
Clicking on each menu list item should update the content to the right (main body text) and introduce a marker to indicate which menu item you are on - this could just be a change in style e.g. bold font, or a small arrow image, bullet etc.
Initially I was thinking of creating a page for each menu item, and a menu for each page. The problem here is e.g. 10 menu items would require 20 files with essentially the same content. This would also mean updating 20 times if any changes were needed.
Could someone tell me when the best practice is to gain the functionality I'm after?
Below is an image to illustrate the above:
http://img.photobucket.com/albums/v368/flemmo/mockupmenu.png
I'm wanting to build a pages(s) with a vertical left menu in css.
Clicking on each menu list item should update the content to the right (main body text) and introduce a marker to indicate which menu item you are on - this could just be a change in style e.g. bold font, or a small arrow image, bullet etc.
Initially I was thinking of creating a page for each menu item, and a menu for each page. The problem here is e.g. 10 menu items would require 20 files with essentially the same content. This would also mean updating 20 times if any changes were needed.
Could someone tell me when the best practice is to gain the functionality I'm after?
Below is an image to illustrate the above:
http://img.photobucket.com/albums/v368/flemmo/mockupmenu.png