Recent Questions Flash Hyperbolic Tree EffectQ:
We create the menu code via ASP, and we need to have 2 menus on one page. Normally you do this by having 2 java scripts includes.
However it looks like the bottom menu activates the first menu?A: Now you have two entries of dmenu.js file on your site in the tag.
You must have only one entry of dmenu.js file.
You should write so:
<!-- (c) 2006, by Deluxe-Menu.com -->
Please, delete the same code from the tag.
Can you provide an example of how to dynamically change the menu items at runtime for the dropdown menus?
2)Generate your menu items dynamically from database.
Unfortunately we don't have working example with ASP.
You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- (c) 2008, http://deluxe-menu.com -->
// and describe parameters of a menu
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
The example of the menu working with PHP/MYSQL you can find here:
The menu files need to be in EVERY directory that there is a page calling these files? A: No you can use one folder with engine .js files.
But in your html pages you should write correctly your dmWorkPathparameter:
and call dmenu.js file from the right place