Recent Questions
Q: Can the main menu items be set so they are all the same width without specifying pixel widths?
A: You should create Individual Style and assign this style for allitems.
var itemStyles = [
["itemWidth=150"], //style 0
];
var menuItems = [
["DHTML Menus","", "images/icon1.gif", "images/icon1o.gif", , ,"0", , , , , ], // assign style 0
["Apycom products","", "images/icon1.gif", "images/icon1o.gif", , , "0", , , , , ], // assign style 0
["Contacts","http://www.apycom.com/contact.html", "images/icon1.gif", "images/icon1o.gif", , , "0", , , , , ], // assign style 0
];
Q: The secondary javascript menu style sub menu under Aircraft doesn't line up the same as in Tuner..
A: Deluxe Menu doesn't work correctly (incorrect submenu position) if youhave complex frame structure.
The problem is in a structure of your frameset.
Mozilla browsers can't determine absolute coordinates for a frame, so submenus drop down with an offset.
You should create, for example, the following frameset structure:
--|------------|--
| top |
--|------------|--
| menu |
--|------------|--
| |
| submenus |
| |
Now a second row has 3 columns and all browsers can determine a width of the 1st column in the second row.
Q: I would like to add a javascript link but cannot seem to get it handle the event as a tag or onclick event. I just want to grab the current page, insert it into a string, and go off to the page it specifies. Can this be done?
A: You're able to use Javascript for each item, for example:
var menuitems = [
["item text", "javascript:your_code_here"]
];
Unfortunately, you can't assign onmouseover/onClick event to each item.
However, you can achieve this by using standard html objects within items, for example:
var menuitems = [
["<div onClick='your_code_here'>item text</div>", "index.html"]
];
Q: I regret having a problem with my setup, and hope you may be able to put me on the right track. After making a few alterations to my menu, and previewing in FrontPage,
I get a window with an error message "dmObjectsCheck is undefined".
A: This error means that you didn't add some engine file for themenu you need.
Please, try to add all engine files into the folder with your dmenu.jsfile.
You can also send me a copy of your html page (including .js files)and I will check it.