George59
07-28-2009, 05:28 AM
Hi,
I need to make a multi level menu for a website that has at least 100 web pages.
I would like to be able to update the menu (in case I need to add, rename or delete any menu item) quickly just by editing ONE menu list file that contains all items of the menu.
I found a nice HTML/CSS multi-level menu that does not uses javascript, and I was wondering if someone could take a peek at it and show me how can I implement it in the fashion that I described above.
Here is the link to the code:
http://www.cafewebmaster.com/web2-style-css-dynamic-menu-arrows-and-background-images
and here is the demo:
http://www.cafewebmaster.com/demo/css-menu/dropdown_web2_style.html
(I have already asked the same question to the author, but he only responds to questions once a month and if I have a follow up question, I have to wait another month for that answer.)
So, I know how to extract the style info into a .css file, that is not the problem, what I'd like to know how to "extract" the menu list info from that html code into an external .htm file, so that that would be the only file I need to modify in case the menu itself has to be changed.
My sub question is related to the main problem but it might give answer to that one, I don't know:
I've tested at least 7-10 multi level menus, and they all have the basic structure, link to style, javascript, and the "internal" menu list.
Is it possible to xref a menu html file with all the codes and styles into another html document using either frames, iframes, table, so that if it is possible, that would solve my problem, and all I would have to do to add one of those frame or table element to all 100 homepages where that frame would only include the xref to the complete menu package?
George:confused:
I need to make a multi level menu for a website that has at least 100 web pages.
I would like to be able to update the menu (in case I need to add, rename or delete any menu item) quickly just by editing ONE menu list file that contains all items of the menu.
I found a nice HTML/CSS multi-level menu that does not uses javascript, and I was wondering if someone could take a peek at it and show me how can I implement it in the fashion that I described above.
Here is the link to the code:
http://www.cafewebmaster.com/web2-style-css-dynamic-menu-arrows-and-background-images
and here is the demo:
http://www.cafewebmaster.com/demo/css-menu/dropdown_web2_style.html
(I have already asked the same question to the author, but he only responds to questions once a month and if I have a follow up question, I have to wait another month for that answer.)
So, I know how to extract the style info into a .css file, that is not the problem, what I'd like to know how to "extract" the menu list info from that html code into an external .htm file, so that that would be the only file I need to modify in case the menu itself has to be changed.
My sub question is related to the main problem but it might give answer to that one, I don't know:
I've tested at least 7-10 multi level menus, and they all have the basic structure, link to style, javascript, and the "internal" menu list.
Is it possible to xref a menu html file with all the codes and styles into another html document using either frames, iframes, table, so that if it is possible, that would solve my problem, and all I would have to do to add one of those frame or table element to all 100 homepages where that frame would only include the xref to the complete menu package?
George:confused: