Recent Questions
Q: My site requires me to regularly update the menu by inserting a new menu item at the top of the list. Creating a sub-item automatically places it at the bottom and I haven't yet found a way to move java animated menu items to the top apart from manually editing the data.js file.
A: You should use new engine files v3.2.5 and add items using thefollowing function:
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Adds the new item to a submenu.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0. See more info about indexes here.
iParams = [array] - the array of item parameters. This parameter has the same structure as an item in menuItems array. You can assign parameters of another existent item of the menu (for example, when you want to create a duplicate of the existent item) or create new ones.
Structure of iParams:
[item_text, link, icon_normal, icon_over, tip, target, individual_style_index, jsFilename]
Pos - the position in the menu where you want to add new item.
Find more info:
http://deluxe-menu.com/functions-info.html
Q: I just download your Trial version, I was able to edit the Data.js for my menu, but I never foundhow to use th Mac HTML (GUI) Deluxe Tuner (to change Style for example...)
A: You can edit Individual Styles on MAC too.
You should click "Individual styles..." button and edit your style inthe appeared window.
Than you should assign individual style for the item.
Q: Once more I have a small question about Deluxe Menu.
I have rewritten my homepage (still off-line) to use stylesheets instead of frames. But for some reason the drop down menu templates won't appear anymore.
Does DM need frames or can it also work without frames? I would suppose that it can also work on a page with no frames. But for some reason I can't seem to get it to work.
A: If you don't use frames there is no need to write your init functionin the following way:
dm_initFrame("lower", 0, 1, 1);
That is way you cannot see your menu.
Please, write:
dm_init();
Q: I have some problems with Deluxe Tree.
I have set the var tlevelDX to 5 to decrease the indent for each level of items, but would like to decrease the indent even more. Ican't find the parameter that will set the indent in pixels of thefirst level item.
Also, is there a setting that will put text for a menu item on a second line?
I hope that you can help.
A: You can make the smallest indent this way:
var tlevelDX = 0;
You are not able to have more little indent. This place is reservedfor + buttons.
Try to set this parameter:
var tnoWrap=0;
You can also use <br> tags in the item text, for example:
var tmenuItems = [
["line 1<br>line 2"],
];