Recent Questions
Q: How do I turn off transitional effects in dhtml popup menu?
A: You should set the following parameters:
var transition=-1;
var transOptions="";
var transDuration=0;
var transDuration2=0;
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: I would like to separate each main menu item in a dhtml menu bar with a dotted line graphic.
A: To add a separator you should
//--- Separators
var separatorImage=""; //for subitems (top items in vertical menu)
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="separator.gif"; //for the top items (subitems items in vertical menu)
var separatorVWidth="100%";
var separatorVHeight="2px";
var separatorPadding="";
You can create separators using menuItems, for example:
var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],
];
Q: I am interested in purchasing the developer license for Deluxe menu, but I wanted to see if I can use the trial version to accomplish what I need. You have an example of what I need on
http://deluxepopupwindow.com/ ("click here to open window"). I would like to click on a navigation menu link and have a pop up window linking to a url.
I got as far as being able to link the website in the pop up, but not exactly sure how you make a link that you can click to display the pop up.
A: Delete 'openAfter=' at all from deluxePopupWindow.attachToEventfunction:
deluxePopupWindow.attachToEvent(win,',,,,,')
In that case popup window won't show till you click on the link.