Recent Questions
Q: I have changed the font parameters for the menu, but it only seems to affect the dropdown parts, the main menu font doesn't change, and I would like them to be consistent. How do I fix this?
A: Please, make sure that you don't use Individual Item Styles for themain items. If you're using styles you should change font in thisstyles.
Q: 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, ...]
Q: How i can isert any html code in css dynamic menu?
A: You are able to paste any html code within items.
So you can paste a form too.
For example:
var menuItems = [
...
["||<nobr><FORM method=GET action='http://www.google.com/custom'><input name='as_q' value='searchthe web' size=15 style='font-size:10'> <INPUT type=hidden name=cof
value='LW:144;L:http://domain.edu/images/sulogo.gif;LH:45;AH:center;GL:0;S:
http://domain.edu;AWFID:e01cb67b8afe383e;'></form></nobr>","", "images/icons/search.gif", "", "", "", "", "2", "", "", "",],
Q: Do you have an extremely simple example of modifying a menu with the JavaScript API? I've played with the example on the site, but I have trouble removing the other menus without breaking it.
I just want to use the API to change the icon on the menu items.
A: You should use the following function:
function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
<script language="javascript" >
dm_ext_changeItem(0, 0, 1, ["", "", "new_icon.gif", "new_icon_o.gif", "",,""]);
</script>