Recent Questions Ext 2 2 Tree Listener ContextmenuQ:
Your product is great. I do have one question for you however.
Right now the dropdown (subitem) menus appear based on the smShowPause variable, and disappear based on the smHidePause variable. It is sometimes awkward for users to mouse off the subitem menu that has dropped down, only to have it still hanging there. Reducing the smHidePause variable is not an option because then the menu often disappears before a user has selected a menu option.
The ideal solution is the have the subitem menu recognize when the user has moused off the menu, and then disappear. Is this possible?
if not, I definitely suggest incorporating it into your next build! A: Try to set these parameters:
I have a question
How can i insert html code into Tree Menu?
Example: I need to put a form, inside of a menu A: You are able to paste any html code within items.
So you can paste a form too.
var tmenuItems = [
["||<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
"images/icons/search.gif", "", "", "", "", "2", "", "", "",],
Can I use data from a SQL server using ASP for drop down menu code?A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
so, you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- (c) 2006, http://deluxe-menu.com -->
// and describe parameters of a menu
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
Unfortunately we don't have examples with ASP and SQL.
The example of the menu working with PHP/MYSQL you can find here:
* Expand all
* Collapse all
Which command do I use??? A: Tree Menu doesn't have such a feature now.
You can write your own function based on the following API functions:
function dtreet_ext_showItem (itemID, visibility)
function dtreet_ext_expandItem (itemID, expand)