Recent Questions Avl Tree Java Applet Source
Q: We are an enterprise license holder and have recently purchased JavaScript Tree Menu and are transitioning to it smoothly except for one minor annoyance; the first dhtml div menu item's submenu always has a gap between the browser’s left side as shown below. This happens for Internet Explorer 6, 7 and Firefox 2 and 3.04b.
If I move the menubar to the right about ten pixels, the submenu's left side will line up with the word "Search" as it should. Every other submenu on the dhtml div menu appears directly beneath its menubar item except for the very first one on the left. I’ve tried using a few of the example configurations but they all experience the same behavior.
The installation is in a multi-framed environment.
A: You should change dmenu.js file. Open it in any text editor and find:
space=15;
Change it to:
space=0;
Q: When you hover over words the background color is light blue - How do I change dhtml context menu so that the color when you hover over items is different?
A: You should change the following parameter:
var itemBackColor=["#FCEEB0","#65BDDC"];Q: I wanted to ask a question about your software, we just purchased the multi license for Deluxe flash dropdown menu. We were trying in many ways to control the width between the words
We were trying to control the width between Europe, North America, Latin America, Asia, Oceania, Africa
We wanted to set the width as 16% to make them all equal with a 100% width flash dropdown menu but it did not work out for us. We tried to do it with creating an Individual style in the Item Style for all the top links. Can you please advise how are we supposed to achieve that?
A: Unfortunately it is not possible to set now:
var menuWidth="100%";
var itemStyles = [
["itemWidth=16%"],
];
To set the exact width for all flash dropdown menu items you should set width in 'px'.
var menuWidth="798px";
var itemStyles = [
["itemWidth=133px"],
];
Q: 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:
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 your items.