var showByClick = 0;          Show submenus on a mouse click only.
0 - disabled (default),   1 - enabled.
You can use such parameter in you menu:
var transDuration = 300;         - Delay of a transitional effect (in ms) on submenu's showing.
Though, once I click on a link, the page will load properlyin the correct frame, but the next time I hover over that dhtml menu link again, I get a Permission Denied error.A: It is possible that your links are incorrect.
If you open links situated in the different folders on your serveryou'll get error.
You can try to use absolute paths for your dhtml menu links:
You can also send us a copy of your html page (including .js files) ora direct link to your website, so we can check it.
My client wants their drop down navigation to lock into place when someone visits a page. Is there a way to do this?
Right now it disappears when you click the link. A: I suppose that you're saying about submenus.
Try to set the pressed item using the following API function:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion, parentOpen)
Sets a current pressed item.
menuInd - index of a dynamic menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
parentOpen = true/false - open all submenus to show the selected item
See example here:
Try to click 'Highlight "Product Info/Installation/Description ofFiles" item'.
You can also try to use the following parameter:
var smHidePause = 1000;
A delay (in ms) between mouse is moved from submenu and its closing.
You can make submenus to stay visible till you click outside the menu or scroll your page.
To enable this feature you should set this parameter in the following way: var smHidePause = -1; Q:
Thank you so much for your time and assistance - I've been charged with this project and still struggling a little. Considering my total ignorance to code, I'm understanding much better now, but could you please take a look at the page and tell me why I now have double menus and how to correct? A: It happens because at first you call
and then you paste the content of data.js file in your code.
That's why you have two menus on your page.Please, delete one of them.