I've bought your products and I love them.
Now I need help on this:
Thank you very much for your help. A: You should use API functions in that case
function dtreet_ext_expandItem (itemID, expand)
See more info about API functions:
See the samples:
The second script:
Is for the top navigation menu, the datahscounseling is for the side menu. If I delete that line won't my top navigation be gone? A: No, when you have several menus on the same page you should calldmenu.js file only once and then call several data files.
You should install the menus in the following way:
<!-- (c) 2007, http://deluxe-menu.com -->
<TD height=25 colSpan=3 class=style1>
<td width="180" height="307" rowspan="2" valign="top" bgcolor="ffffff"><div align="left">
Both menu will work correctly in that case.
See the example I've sent you. It works fine.
You can find more info about installation of several menus on thesingle page:
I would like all my submenus of the html menu to appear in the same location on the page and not relative to the parent menu item.A: You can do it using the following parameters:
var subMenuAlign = "left"; - Horizontal alignment for submenus.
"pleft", "pcenter", "pright" - alignment relative to the parent submenu.
var subMenuVAlign = "top"; - Submenus vertical alignment.
"ptop", "pcenter", "pbottom" - alignment relative to the parent submenu.
The only remaining problem I see is that the html 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 html popup 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.