Recent Questions Dtree Dtree Js
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: I am evaluating your product and would like to display my top menu without a border, but have the dropdown (child menus) all have a border and shadow.
If I change the menuBorderWidth to anything but 0, I get a menu on both the top menus and dropdowns. I need a topBorderWidth and a childBorderWidth.
Is there any way to accomplish this?
A: Yes, you can do it.
Please, set:
var menuBorderWidth=0;
To set border for submenus you should use Individual Submenu styles, for example:
var menuStyles = [
     ["menuBorderWidth=1","menuBorderColor=#9A9CA7"], //style 0
];
var menuItems = [
     ["Home","testlink.html", , , , , , , , ],
     ["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , , , , ],
         ["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , , , "0", , ], //style 0
     ["Samples","", "default.files/icon1.gif", "default.files/icon1o.gif", , , , , , ],
         ["|Sample 1","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , , , "0", , ], //style 0
         ["|Sample 2 is Disabled","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", , "_", , "-1", , ],
...
You should assign style for the first item in the submenu.
Q: I have to find out, how the javascript tree control is NOT expanding in the beginning..
A: You should set the following parameter:
var texpanded=0;
Use + signs before items text to expand some items:
["+Land","", "", "", "", "", "", "0", "", "", ],Q: Utilizing the drop down web menu under Internet Explorer 7, it gives me a popup of “To help protect your security, Internet Explorer has restrictedthis webpage from running scripts or ActiveX controls that could access your computer. Click here for optons….
Is there a way to bypass this popup and IE recognize it as a valid script?
A: Please, see security preferences: IE/Tool/Internet OptionsMake sure that Active content is enabled.
You should check your Security Settings.
There is no way to enable these settings automatically.