Recent Questions
Q: I have function "confirmLogout()" that it returns true or false. If it is false, the function does not make nothing. If it's true, I need to direct for the page "goout.jsp". How to use this function in the mouseover drop menu?
function confirmLogout() {
if(confirm('It really desires to leave? ?')) {
return true;
} else {
return false;
}
}
A: Actually you can use your own Javascript code instead standard mouseover drop menu links. For example:
var menuItems = [
["text", "javascript:your_code_here"]
];
or
var menuitems = [
["<div onClick='your_code_here'>item text</div>", ""]
];
Q: Please kindly help to this problem, in my pass few weeksI'm using my deluxe menu and I can type arabic text there, but now its seems that the software is not recognizing the arabic text, from my screenshot you can understand that it shows a different symbols although im typing arabic font.
Now I couldnt type arabic font and I have existing projects website and need to edit it again but I can't coz my software is not recognizing the arabic text.
A: Unfortunately, you can't use arabic characters in Deluxe Tuner application.
You should manually correct your code.
And after you create your menu you can open your data file (created inDeluxe Tuner) in any text editor (click F4 on this file) and add your text parameter, forexample:
["Home","testlink.html", , , , , , , , ],
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , , , , ],
["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , , , , , ],
["|Installation","", "default.files/icon2.gif", "default.files/icon2o.gif", , , , , , ],
["||Description of Files","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , , , , , ],
...You should enter text to "Home", "Product Info", "|Features","|Installation","||Description of Files" fields in the text editor.Try that.
Q: I want to use your menu to create a javascript menu bars like effect in my application. For that I need only the images in the menu items and sub menu items(no text).
And I also want to enable disable toolbar items dynamically depending on the flow in my web application.
I could not find any help for the javascript API on your site that changes the menu dynamically.
A: Our menu is very flexible, so you'll be able to implement any menusystem you want, see for example:
http://deluxe-menu.com/data-templates/xp-style-taskbar-template-sample.html
http://deluxe-menu.com/data-templates/xp-style-1-template-sample.html
>> I could not find any help for the javascript API
Please see this:
http://deluxe-menu.com/functions-info.html
http://deluxe-menu.com/dynamic-functions-sample.html
Q: How does one go about changing the parameter or the JavaScript so that a vertical menu selection stays 'on'? In other words, the vertical menu remains selected, perhaps in a background color that shows the user this menu choice is selected and the user is in the selected menu area.
A: To save your navigation path you should set the following parameter:
var saveNavigationPath = 1;
The menu keeps items highlighted during menu navigation.
0 - disabled, 1 - enabled (default).
You can highlight menu items by default in two ways:
1) Set the pressed item on each page idividually using the following parameter:
var pressedItem = -2;
The toggle mode. Sets an index of an item that will be highlighted by default.
-2 - the toggle mode is disabled;
-1 - the toggle mode is enabled, but no items highlighted by default;
0,1,2,3,... - index of highlighted item in a top-level menu.
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, for example:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript"> var pressedItem=2;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>
2) Set the pressed item/subitem using dm_ext_setPressedItem () function.
Please see more info here:
http://deluxe-menu.com/highlighted-items-sample.html