Recent Questions
Q: we want to be able to specify a certain height (or number of items) for the main menu after which a new column is created.
A: Unfortunately it is not possible to specify a number of items after which a new column is created.
But you can use blank items and create Individual Style for theseitems.
For example:
["| ","", "", "", "", "", "0", "", "", ], //empty item
["|Item 42","", "", "", "", "", "", "", "", ],
["| ","", "", "", "", "", "0", "", "", ], //empty item
["|Item 44","", "", "", "", "", "", "", "", ],
Q: I am trying to use Delux-menu for our project, I am not able to use dynamic features of drop down menu script. I will send the html file, where I am calling the java script.
I am getting the error dm_menu[mInd] has no properties.
A: You have one menu in your example, but you write:
function hide(vis) {
dm_ext_changeItemVisibility(1, 0, 2, vis);
That is mean that you want to hide item in the second drop down menu script.
You should write:
function hide(vis) {
dm_ext_changeItemVisibility(0, 0, 2, vis);
Q: Here is a snapshot from the javascript drop down menu:
["admin","/Main/Administration.asp", "", "", "", "", "1", "", "", ],
["|test1","http://www.vg.no", "", "", "", "", "0", "0", "", ],
["|test2","/Main/Setup.asp", "", "", "", "", "0", "0", "", ],
If I click on test1 which is a Norwegian newspaper, it works.
But it I click on test2 which is a link to my page – it does not work.
A: You cannot use "" symbols within menuItems. It is not correct.
Try to write your javascript drop down menu items in the following way:
["admin","/Main/Administration.asp", "", "", "", "", "1", "", "", ],
["|test1","http://www.vg.no", "", "", "", "", "0", "0", "", ],
["|test2","/Main/Setup.asp", "", "", "", "", "0", "0", "", ],
Q: When using the Deluxe-Tabs, the second tab seems to be the first selected tab when displaying tabs in a page. Is there a way to set the default tab showing on a page load?
A: You should use the following parameter:
var bselectedItem = 3;
Where 3 is the number of your menu item from the var bmenuItemsparameter.
var bmenuItems =
[
["Mac Tab 1", "content1"],
["Mac Tab 2", "content2"],
["Mac Tab 3", "content3"],
["Mac Tab 4", "content4"], // selected tab
];
The ID of the item starts with 0.
Try that.