Recent Questions
Q: I have a question regarding your java dropdown menu. I am evaluating them in order to assess their functionality.
My menu will often have many items, say 100 or so. I would like them to display horizontally, like a grid so they are all visible on one page. Also, they should run alphabetically down each column, then to the next column like a telephone book, not across.
Is this possible with your java dropdown menu?
A: Yes, it's possible, please see an example:
http://deluxe-menu.com/multicolumn-menu-sample.html
Q: I have downloaded the trial version of your software and would like to know if it is possible to expand the submenu when clicking on the text of the menu option? As far as I can find the only way to expand the the submenu is to click on the + icon before the menu text.
+ "Menu Option"
I would like to click on the words menu option to expand the submenu
+ "Menu Option"
+ Option 1
+ Option 2
Option 3
Option 4
A: You should set the following parameter:
var texpandItemClick=1;
Q: I can’t highlight the selected menu item of the current page in the javascript flyout menu?
A: Please, check the following parameter
var pressedItem=-2;
This parameter sets an index of an item that will be highlighted by default.
-2 - the toggle mode is disabled;
-1 - the toggle mode is enabled, but no items highlighted by default;
0,1,2,3,... - index of highlighted item in a top-menu.
The menu has only two states normal and mouseover. We'll try to add the pressed state in the future.
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.
You can also set the correct:
var pressedItem=1;
parameter on each html page.
Q: first - the deluxe menu is a nice tool, greatly.
but I have 2 little problems:
- I'll display the item direct side by side without distance, I can't found the parameter
- I wish the actual site (dhtml vertical menu item) in another colour
A: > - I'll display the item direct side by side without distance, i cant found the parameter
Check that you have correct
var menuWidth="";
parameter.
You can send us a copy of your html page (including .js files) ora direct link to your website, so we can check it.
> - I wish the actual site (menu item) in another colour
You can create Individual Item style and assign it for the top items,for example:
var itemStyles = [
["itemBackColor=#8080FF,#FFFF80","itemBorderWidth=1","itemBorderStyle=solid,solid", "itemBorderColor=#000080,#FF8000","showByClick=0"], //style0
];
var menuItems = [
["Item 1","", "", "", "", "", "0", "", "", "", "", ], //style0
["Item 2","", "", "", "", "", "0", "", "", "", "", ], //style0
["|Item 3","", "", "", "", "", "", "", "", "", "", ],
["|Item 4","", "", "", "", "", "", "", "", "", "", ],
["Item 5","", "", "", "", "", "0", "", "", "", "", ], //style0
["|Item 7","", "", "", "", "", "", "", "", "", "", ],
["|Item 8","", "", "", "", "", "", "", "", "", "", ],
["Item 6","", "", "", "", "", "0", "", "", "", "", ], //style0
];