Recent Questions Html TreeQ: How to open a popup after clicking on a menu item in dhtml image menu.
A: You can write your menuItems in the following way:
A: Actually you are able to paste any html code within items.
var menuItems = [
["||<nobr><FORM method=GET action='http://www.google.com/custom'><input name='as_q' value='search
the 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", "", "", "",],
["<a href='testlink.html'> test </a>","","",]
Q: I need the flyout menus in the flash navigation bar to be able to be different widths.
A: Actually the submenu width is depend on the item's size.
You can alsowrap item's text.
Set var noWrap=0; or use standard <br> tagsinside items' text:
["|very long text <br> in Item 14","", "", "", "", "", "3", "1", "", "", "", ],
You can set exact width for each submenu using IndividualSubmenu Styles.
var menuStyles = [