-
I need a drop dowm menu that can be edited from one file..
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!
-
-
Tell me if this is sort of what you are talking about
http://phphost.smackum.com/test/
and to edit the txt file, use the following:
http://phphost.smackum.com/test/edit.php
The files are located on my home server, so if you cannot access, I might be doing some updates on it just try again later.
Let me know if this helps or not.
-
-
thanks, thats sort of what I was looking for, but with the drop down effect happening on mouseover.
-
-
Check out Demo 3 of the page in my last post and tell me if that is more like what you want.
-
-
yeah, something along that line - pretty cool actually!
-
-
-
-
You can view the source code by going to http://phphost.smackum.com/test/index.phps and http://phphost.smackum.com/test/edit.phps. Let me know if you need anymore help.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks