Recent Questions
Q: I was trying out the Vista samples and was able to change the sub-item font size but not the cascade menu javascript item(s) font size. Is this by design?
A: You should change font for the main items in the Individual Styles.
var itemStyles = [
["itemWidth=92px","itemBorderWidth=0","fontStyle=normal 11pxTahoma","fontColor=#FFFFFF,#FFFFFF","itemBackImage=data-vista-03.files/btn_magentablack.gif,data-vista-03.files/btn_magenta.gif"],
];
Try that.
Q: We are unable to get sub-menus to appear on page load or rather simulate a "windows application style menu".
How can we in combination with the java menu api function dm_ext_setPressedItem get the associated sub-menu to display? This function simply sets the item to "pressed" rather than actually showing the sub-menu. Attempts at beginning an item's text value with "+" only works with Deluxe Tree.
Again, we are trying to use the menu not only as a navigator but also as a visual aid for the user to determine what page they are viewing. For example, when a user clicks on a menu item and that page loads, the menu should display the top-level item pressed, the sub-menu group, and the item pressed.
Furthermore, it would also be useful if we could then "unlock" the pressed items and navigate the menu under normal circumstances.
If there are no existing "quick" functions to accomplish this, could you please point out the function in dmenu.js or another engine file that initiates the display of sub-menus, we could then force the menu to select a top-level item in the onload event thus showing a top-level item pressed along with it's related sub-menu.
A: Unfortunately Deluxe Menu doesn't have such a feature now. It is notpossible to set parent item highlighted, expanded submenu group andhighlighted submenu item.
You can do it using Deluxe Tree now only.
Q: After I create that submenu I want to move those items up or down within that submenu in the javascript editor.
A: Do you want to move your subitems within Deluxe Tuner?
To move items select items you want and use a mouse drag'n'drop method.
To copy items select those you want and use a mouse drag'n'drop method holding a Ctrl key.
Also you can use a contextual menu - a right mouse click on the list of items.
Q: I am interested in your dhtml menu product, I did not see any examples using a target attribute for the url, i.e.
<a href=http://yoursite.com/ target-"_blank">
Also if this is supported if you could send me an example of how to configure this...
A: You should use the following parameter
var itemTarget = "_self";
Please, see also individual items targets, for example:
["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , "_blank", , , , ],
Change "_blank" to "" or to "_self".