Recent Questions Yui Treeview Icons Figures Pictures
Q: Is it possible to have it remember which sub menus were showing
in the table tree view when the new page loads?
A: Javascript/DHTML Tree has save state feature. You should set the followingparameter:
var tsaveState=1;
Q: Is it possible to use my own search html inside the dhtml pop up menu?
A: Actually you are able to paste any html code within items.
For example:
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", "", "", "",],
There is a search feature in JavaScript Tree Menu:
http://deluxe-menu.com/search-support-sample.html
Q: Click on the option "telefoonlijst" and a submenu has to pop-down… whay is this done not OVER the other object (e.e. the 'frameDESKTOP')
Click index2.htm to see the code is working when the top-frame is 120 pix large!
A: Please, see how you should install the menu in cross-frame mode:
http://deluxe-menu.com/cross-frame-mode-sample.html
Unfortunately, JavaScript Tree Menu can work within 1 frameset only. It can't work within nested framesets.
Notice that you should add dmenu_cf.js file in the folder where your menu is created in.
Q: I'm confused in how to do this. I want to change the background color of one of the javascript and menu items. If I understand correctly I go to INDIVIDUAL STYLES and should be able to change the background color for one of the menu items there. Under item appearance I tried to change itemBackColor - but I can't seem to make it take affect (I tried clicking OK but its under the Style Names, so thats probably not it.
A: You should click "Edit Individual Styles" button.
On the 'Item Styles' tab click "Add style" button.
Set itemBackColor and click "OK" button.
Select the item you want to change the style for and assign new style for it. Go to Item Parameters window 'Item style' field.
var itemStyles = [
["itemBackColor=#EB2999,#590937"], //style0
];
var menuItems = [
["Home","testlink.html", "", "", "", "", "", "", "", "", "", ],
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", "", "", "0", "", "", "", "", ], //style0