Not knowing JavaScript as well as I will eventually, I'll have to ask this question now:
Is it possible to have the sub-menus in separate files?
The reason that I ask, is that I want to have those menus that change more frequently separated out from the static menus. I don't have SQL access from my ISP to build the menus dynamically, and it would save me a lot of time.
Iain.
Separate files?
Hi Iain,
It seems to me that since the submenus are simply defined with javascript, you should be able to break their definitions into multiple .js files that you source into your pages. Just be careful not to duplicate menu names across files that are to be used in the same page, or you'll probably find that one gets lost.
Kevin
It seems to me that since the submenus are simply defined with javascript, you should be able to break their definitions into multiple .js files that you source into your pages. Just be careful not to duplicate menu names across files that are to be used in the same page, or you'll probably find that one gets lost.
Kevin