Glen_S
11-25-2006, 05:53 PM
I'm a web newbie here, so pls bear with me..
I'm bulding a site where I want a horizontal menu (preferably tabs), with multi level drop downs, that has it's content in as few files as possible. I'm not sure if I need php or css, or a mixture of both for this. I've used PHP on one site for different sets of links that show up on all pages, where I only have to edit a couple of files so that all pages that use these links are updated, and I also use a central css stylesheet for formatting behaviour of these links.
PHP works well for me as a central repository for all my links, which is why I posted in this forum.
On another site I used a javascript menu (HV menu) where I needed dropdowns, and I suppose it would do for this purpose as well as it has the single file for updating, but for this one I thought I'd get away from javascript and try something a little more lightweight. The one's I've looked at so far on this site and others seem to need the menu items/links located in the body section of the page themselves, which is not what I wanted. I want the link names and references to be located in a single file so that each page that has this menu does not need updating when I change or add a link.
Is this doable? Do I use PHP or CSS, both? Or am I best off sticking to javascript?
Any examples I may check out?
thanks!
I'm bulding a site where I want a horizontal menu (preferably tabs), with multi level drop downs, that has it's content in as few files as possible. I'm not sure if I need php or css, or a mixture of both for this. I've used PHP on one site for different sets of links that show up on all pages, where I only have to edit a couple of files so that all pages that use these links are updated, and I also use a central css stylesheet for formatting behaviour of these links.
PHP works well for me as a central repository for all my links, which is why I posted in this forum.
On another site I used a javascript menu (HV menu) where I needed dropdowns, and I suppose it would do for this purpose as well as it has the single file for updating, but for this one I thought I'd get away from javascript and try something a little more lightweight. The one's I've looked at so far on this site and others seem to need the menu items/links located in the body section of the page themselves, which is not what I wanted. I want the link names and references to be located in a single file so that each page that has this menu does not need updating when I change or add a link.
Is this doable? Do I use PHP or CSS, both? Or am I best off sticking to javascript?
Any examples I may check out?
thanks!