A: You should set
create .js files with your submenus and call this files from your mainfile, for example:
var menuItems = [
["Product Info","", , , , , , , "data-samples/data-ajax2.js", ],
["Samples","", , , , , , , "data-samples/data-ajax3.js", ],
/*** data-ajax2.js ****/
var menuItems = [
Add dmenu_ajax.js file in the same folder with your dmenu.js file.
Q: One other issue I'm having is that the content for the menu bar in java "selected tab" on my site does not show up in IE7. Works fine in firefox, though. Any ideas about that?
A: Try to delete height: 0%; parameter from the styles:
<div id="content1" style="height: 0%; visibility: hidden;" class="tabPage">
So you'll have:
<div id="content1" style="visibility: hidden;" class="tabPage">
var showByClick = 0;          Show submenus on a mouse click only.
0 - disabled (default),   1 - enabled.
You can use such parameter in you menu:
var transDuration = 300;         - Delay of a transitional effect (in ms) on submenu's showing.
Q: I am testing out your menu system as I try to redesign my site. It is a vertical menu with submenus.
I have hundreds of pages in my site and I'd like to be able to attach your menu system to all of them.
However, I will be making changes to the menu system on a regular basis.
I do not want to go change every program in the site each time I need to make a menu change.
I was hoping you could give me some kind of programming code that I could enter into the <body> section of my html files which would automatically read a file into my prograrm, which contained the menu code.
This way when a menu change is needed, I edit one file, all the programs read that file and display the menu.
As an example of the code I would want read into a webpage at start up:
<div id="dmlinks" style="font:bold 9px Verdana;color:#FFFFFF;text-decoration:none">
<a id="dmI0" HREF="500main.htm">Home</a>
<a id="dmI2" HREF="tixbbs.htm" TARGET="text">For Sale</a>
<a id="dmI4" href="testlink.html">Place Ad</a>
<a id="dmI5" href="testlink.html">Sources</a>
A: If you change the menu parameters only there is no need to change code on each page. You should only replace your old data file (data-deluxe-menu.js) with the new one.
If you don't want to install your menu on each page, you can try to use frames, the menu has a cross-frame mode.
Please, see more info about cross-frame mode here:
Also you can use a server-side script (php, asp, vb, etc.) to generate html pages from templates on your server.