Hello, I am trying out your dhtml menu and would like to load an iframe into one of the menus, how would I go about this? A: If you want to insert <iframe> object inside a menu item you can do following things.
You can paste any html code into menu items, for example:
["item text <iframe src="link"></iframe>", link, ...]
When I stay on one page (for example "Home") аlso must have the menu-point "home" another color or font. How can I make this? A: You should set pressed item.
Please, check the following parameter
This parameter sets an index of an item that will be highlighted by default.
-2 - the toggle mode is disabled;
-1 - the toggle mode is enabled, but no items highlighted by default;
0,1,2,3,... - index of highlighted item in a top-menu.
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.
You can also set the correct
parameter on each html page.
I’m looking for a popup multilevel menu. I think from your website that your menus will do this for but I can’t figure out using the trial version how to do it.
<areahref="#"onmouseover=""shape="rect"coords="120, 124, 180, 136">
Obviously I can’t put the standard <script>… as described in your sample.
See how you should call pop up menu
<img src="data-samples/images/popup_pic.gif" width=180 height=119 onmouseover="return dm_popup(0, 2000, event);" onClick="return dm_popup(1, 2000, event);" style="cursor: pointer;"><br>
I have a horizontal menu. The top-level has icons and text. I want the text to appear under the icon image, centered. Is there a way to do that? A: You can try to write so: ["<img src='images/micon1.gif' width=32 height=32><br> Home","testlink.html", , ,"" , , , , , ],