Is it possible to add checkboxes to cascading menu and retrieve the checked items?
Q:
Is it possible to add checkboxes to menu items and retrieve the
checked items? I need to create a multiple item select menu. So
the cascading menu would need to remain open and allow a user to select
multiple items and would either submit onmouseout or maybe a “submit
these selections” cascading menu item.
A:
You can try to use Deluxe Tree in that case:
http://deluxe-tree.com
You can paste any html code inside item text, see example here:
http://deluxe-tree.com/data-samples/tree-menu1.js
["+Support", "", "icon5_t.gif", "icon5_to.gif", "", "Support Tip"],
["|Index <select style='width:120px;height:17px;font:normal 10px Tahoma,Arial;'> <option>Section 1<option>Section 2<option>Section 3 </select>", "", "", "", "", "",
"", "0"],
["|Search <input type=text style='width:80px;height:17px;font:normal 10px Tahoma,Arial;'> <input type=button value='Go'
style='width:30px;height:17px;font:normal 10px Tahoma,Arial;'>", "", "", "", "", "", "", "0"],
["|Write Us", "mailto:dhtml@dhtml-menu.com", ""],
["|<INPUT TYPE=checkbox CHECKED ID=chk1
onclick='choosebox1()'>Uncheck this check box for some free
advice","","","",],
["<img src='img/sep.gif' width=113 height=1>"],
You should also add your own code, so your checkbox will work
correctly.