Recent Questions
Q: We are using your menu in a website here under development:
There is a problem with mac browsers - safari and firefox. The flash stops and goes blank when the html menu dropsdown.
We have tried numerous fixed including the one outlined on your website here:
http://deluxe-menu.com/objects-overlapping-sample.html Here is the link to our html menu file link/file to the menus: -> http://domain.org.au/js/menu
Any assistance you can provide would be appreciated.
A: Now you hide your flash on MAC using the following function:
function dm_ext_ruleObjectHide()
{
// Safari detect
if ((parseInt(navigator.productSub)>=20020000) && (navigator.vendor.indexOf('Apple Computer') != -1) && (navigator.product=='Gecko'))
return true;
else
return false;
}
Try to delete this function, try to set the following parameter also:
var dmObjectsCheck = 0;Q: The only remaining problem I see is that the dhtml popup menu appears in slightly
different positions depending upon where your mouse touches the icon.
Is there a way to make the menu position absolute in respect to the icon?
I have tried playing with the menu item parameters that seemed related with no success.
A: See dm_popup() function parameters:
return dm_popup(menuInd, pause, event, x, y)
menuInd - index of the menu on a page, >= 0.
pause - determines the time when the menu will be hidden.
event - constant. Do not change.
x, y - optional. Set these parameters if you want the menu to appear in the specified place.
In other case the menu will be shown in the mouse position.
Q: I notice in your examples that your menus are horizontal and then drop down.
Is it possible to configure dhtml menu generator for vertical menus with submenus going left to right?
A: Yes, it is possible.
You should set the following parameter:
var isHorizontal=0;Q: I am evaluating your fine menu builder application.
Please let me know the following:
a) How could I call a script instead of specifying a link?
["|Product A","http://dhtml-menu.com","","","",,"0",],
b) If the above is possible, please let me know how, in the called script, I could know where the call to the script come from.
A: You can use your own javascript functions in the menu items.
You should paste "javascript:some_function()" into item's link field, for example:
var menuItems = [
["text", "javascript:your_function(...)", ...]
];