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.
Even with the shadow setting removed -- there's a white space that surrounds the menu. I just can't figure out where the 1px white padding is coming from. I've checked and doubled checked my CSS -- so the problem is within the script with a setting I'm not familiar with. A: Set
to remove white border from your submenus.
Add the following parameter to your Table:
<TABLE class=toptable cellPadding=0 cellSpacing=0 width=1000 align=center border=0>
I really like how this works and I think it will wind up working for us, but I have a question. On the xp style dynamic tree menu, is there a way when you click one of the 'headers' that will open up other choices for example on your http://www.deluxe-tree.com/data-samples/tree-menuxp3.html tree. When youclick either the deluxe tree:xp style or the samples gallery or the samples gallery2 section, can you make it so it opens a page in another frame? The way it is now you it wont open a page until you click on the 'samples block 1' or below.A: Actually you cannot use links for the top items in the XP Style.
But theoretically you can use links for the top items. You can write
["<a href='index.html' class='home' target="frame">Home</a>","", "", "", "", "Return to Index page", "", "0", "", ],
["<a href='http://www.domain.uk' class='home' target="frame">About Us</a>","", "", "", "", "", "", "0", "", ],
["|Introduction","http://www.domain.uk/introduction.htm", "", "", "", "", "", "", "", ],