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:23
Separate files?
Poster: Celtic
Dated: Thursday July 24 2003 - 8:51:45 BST
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.
Poster: kevin3442
Dated: Tuesday July 29 2003 - 0:47:34 BST
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
Industrial Strength JavaScript and DHTML Menus
About Us
Testimonials
Contact Us
Our Distinguished Clients
Investing in Non-Profits
Where Are We
Privacy Policy
Software Licensing Agreement
DHTML JavaScript Menu
Product Information
Page Integration
Quick Reference Guides
Embedding Into a Table or DIV
Purchase
