Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:56
2 menus on same page
Poster: leighbax
Dated: Saturday November 15 2003 - 16:44:46 GMT
Hi,
Is it possible to have 2 separate menus on the same page, i.e. 1 that is common to all pages on a site, and another which only appears on certain pages?
If so does the code all go in the same data file, or do you need to have separate files with different names?
Leigh
Poster: Maz
Dated: Saturday November 15 2003 - 20:47:10 GMT
Not sure if you are saying adding a second menu to some pages or having an alternate menu on some pages.
Where I have 2 menus on some pages I have 2 scripts with different names and different style names for the menu and submenus.
You only need to change the menu-data file names and its style names, the other js files will do the same job.
So your answer is yes, even if you have one different menu on some pages you need to call that menu by a different name from the other.
Regards,
maz