Recent Questions
Q: I've been using your application for about 2 years but have never been able to insert a vertical divider in dhtml menu source.
A: You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];
Please, see the following parameters:
//--- Separators
var separatorImage=""; //for subitems
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif"; //for the top items
var separatorVWidth="100%";
var separatorVHeight="2px";
var separatorPadding="";
Q: Having purchased Deluxe Menu and I am having a problem with the simple javascript menu I have created. The menu works fine when I view the html page generated by Deluxe Tuner but when I put it into my own html page the submenus are appearing above the simple javascript menu and not below as required. How do i stop this from happening please?
A: Try to adjust the following parameter:
var subMenuVAlign="top";
or
var subMenuVAlign="bottom";
Q: If i use windows tree menu and published on my web site it is default all menu and submenu areopened . I want that all menu is default closed if user click on main menu itwill be opened submenu. Please wich parameters i have to change. Please help me
A: You should set the following parameter:
var texpanded=0;
Check also that you don't have '+' sign before item's text in the top items, for example:
["+Home","", "", "", "", "", "", "0", "", ],
...
["+Item1","", "", "", "", "", "", "0", "", ],
Q: Thank you for your prompt reply. But i was wondering where should I paste this code? Can you please explain the working of the javascript toolbar menu function
dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
I have 5 items in the javascript toolbar menu : Admin Options, Status Report, Remarks, Edit Profile, Data Entry.
I want to disable some fields for different users.
I have 3 role id's set in my database.
I want certain fields disabled for different users.
For eg : For Roleid =1 , i.e admin , I want all items to be visible.
For Roleid =2 , i dont want the Admin Options to be visible.
For Roleid=3 , I dont want Admin Options & Status reports.
Can you please elaborate on the working of the changeItemVisibility function. I was confused as there were no examples to demonstrate the code.
A: Notice also that you should set
var dynamic=1;
parameter to use API functions.