Recent Questions
Q: Can I use a menu java scrip Item for text and get the text to wrap within a predefined menuWidth?
A: You should set the following menu java scrip parameter:
var noWrap = 0;
or use <br> tags within menuItems.
Q: I am using a licensed copy of Deluxe Menu and am extremely happy with the software and the functionalities provided. Great Work !!
I wanted to know how to hide/ disable the item in the javascript text menu for a particular user/roleid in .ASP.Net1.1 Kindly help me out with this problem as soon as possible.
A: You can find more info here:
http://deluxe-menu.com/dynamic-functions-sample.html
You can try to use API functions in that case:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
To disable items you should set the target parameter to "_".
You can try to use the following function
function disable() {
dm_ext_changeItem(0, 1, 1, ["", "", "", "", "", "_"]);
}
to disable items in your javascript text menu.
Q: Our default directory for the files is menudir
How do we get the software to recognize this default directory when generating the script and support files. The default needs to be added for the icon files etc.
A: You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these parameters.
Q: Are these cool html scripts compatible with .NET?
A: Yes, Deluxe Menu works in .NET.
Deluxe Menu is a Javascript product. It means that it works on aclient side and it doesn't work on a server side as ASP.NET script.
So, you can create the menu using standard html page and them movemenu code within .asp page.