PDA

View Full Version : Dynamically change contents of menu



Kjertil
03-11-2010, 07:44 PM
1) Script Title: All Levels Navigational Menu (v2.2)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/

3) Describe problem: I am developing a webpage where I would like to dynamicall change the structure of the menu. That is add or replace parts of the menu (that is the part of the submenu - not the bar itself) without having to load the entire page again.
My current solution (which does not work 100%) loads the dynamic contents from a set of cookies. It then generates the DOM model required by the ALNM and calls setup(..., ...). This works great the first time, but calling it again causes a number of problems - like the main bar is now displayed twice.

Does anybody here have an idea on how to do this?

Best regards and thanks
Kjertil