Recent Questions
Q: Is there a way to programmatical select an item in the scrolling menu without the user actual click on the item?
A: You can set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Q: In DHTML Menu, is possible call javascript when click on an item without close the javascript pop up menu ??
I would update a content subitem with ajax when click on a item, but when click the mouse on the item the menu is closed.
I can't use the showByClick property because i use popupMode=1 .
Can you help me ???
A: In Deluxe Menu you can use the following parameter:
Parameter: smHideOnClick
hides submenus on click
0 - disabled, 1 - enabled.
var smHideOnClick=0;
Q: I bought the Deluxe Menu system for one website. Javascript select menu works well on all versions of IE that I tried (5,6,7)
However, the background and shadow do not render in Firefox. As a result the menu is not as attractive.
Can you help with this or am I stuck?
A: You should add Individual Item style and assign it for the top javascript select menu items:
var itemStyles = [
["itemHeight=20px"],
];
["Home","index.shtml", "", "", "First Page", "", "0", "", "", "", "", ],
["Communication","", "", "", "", "", "0", "-1", "", "", "", ],
...
Filters and transitional effects are features of Internet Explorer5.5+ only.
See more info here:
http://www.deluxe-menu.com/filters-and-effects-sample.html
Q: The drop-down submenus are now going "up" instead of "down" in the drop down menus in javascript.
A: Set the following parameter:
var subMenuVAlign="top";