Recent Questions
Q: How do I make the main nav links align left in my horizontal menu (they are center aligned).
A: Try to use the following parameter:
var itemAlignTop="left";Q: There is one other issue I am hoping you can help with? When the dhtml web menu drops down in Safari over a SWF -- it disappears. I have added the function dm_ext_ruleObjectHide() code to the top of my data file. Can you please advise what else I can try?
A: Submenu couldn't overlap flash in Safari correctly.
And the following code:
// Safari detect
if ((parseInt(navigator.productSub)>=20020000) &&(navigator.vendor.indexOf('Apple Computer') != -1) &&(navigator.product=='Gecko'))
return true;
in 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;
}
cause flash to disappear in Safari.
You can try to write this function in the following way:
function dm_ext_ruleObjectHide()
{
return false;
}
Q: In internet explorer the menu appears as expected, in firefox it is shiftedway to the right
The deluxe menu code is all wrapped within < center> < /center> tags
How can this be resolved?
A: Try to specify units in "px", for example:
var menuWidth="700px";
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
Q: I want the background highlight stay on after the item is pressed in navigation bar script.
A: You can set a pressed item using Javascript API:
function dtreet_ext_setPressedItem (menuInd, itemID)
Please, see here:
http://deluxe-tree.com/functions-info.html
You can also set
var tsaveState = 1;
More info you can find
http://deluxe-tree.com/data-samples/tree-menuxp-save-state.htm
To expand specific items you should use API function
function dtreet_ext_expandItem (itemID, expand)