Recent Questions Yui Tree Right Click Menu SampleQ:
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 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:
What I meant was that there is an API function dm_ext_changeItem that allows you to specify 8 dropdown menu parameters in an array. What if I only want to change one of them like the link for example? What do I specify in my function call to leave the other 7 parameters unchanged? Do I specify the existing values? Or, can I just put in a comma with no parameter? That would be a lot easier. Thank you. A: You should specify only dropdown menu parameters you want to change.
You should just put a commas with no parameters, for example:
When I load a page the first tab of the creating tab menu is always highlighted, not the contact tab. A: I suppose that you've set the following parameter:
So, the first tab is always highlighted.
This Tab menu can save pressed item automatically within1 page only.
If you open another page, the menu can't remember presseditem.
( var bselectedItem, var bselectedSmItem) or using any server-sidescript (php, asp, etc.)
You should delete this parameter from your data file and write thefollowing code
on each page before you call your data file, for example:
var bselectedItem = 3;