I wanted to know how to hide/ disable a menu item for a particular user/roleid in dreamweaver dhtml menu..A: You can find more info here:
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
dm_ext_changeItem(0, 1, 1, ["", "", "", "", "", "_"]);
to disable your items.
I have a question:
The smHidePause = 1500
If hide is busy (during 1500), and I click somewhere else on the screen (empty place), I want the submenu to hide.
Can I make this happen? A: Yes, you can do it.
You should use the following function to hide your submenus:
where 0 - is index of the menu on a page >0.
What I try to make is a menu dhtml with items having a border of only 1 px, also between the menu items. However it seems that Deluxe menu draws a 1 px line around every menu item giving an effective border line of 2 px between the area where the items touch each other. I want to have 1 px border also on the areas where the items touch each other.
Any suggestion how to fix this? A: If you want to have the 1px border between the items only you canuse separators.
Please, see the following parameters:
var separatorImage=""; //for subitems
var separatorVImage="images/public/separator.gif"; //for the top items
You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["About Us","about.cfm", , , , , , , , ],