A very simple use: Click on the menu to be able to display the following or not display.
1, the main purpose: the show is a menu item, and then click, Hide, point, pop-up the following content
Using the Overflow:hidden and overflow= "visible" properties in the clicked Function, setting properties should
node.style.overflow= "visible"; it is also important to set the TR height so that other options are hidden
2, the use of the same technology , add a few, but is to pass the parameters of the trouble, using this reference is very common
Implementation effect:
After clicking: Set background color (CSS settings)
How to use JavaScript to make a drop-down list to display the tree menu, I believe that you should have a general idea through this article, but also believe that everyone produced a drop-down list of tree-shaped menu effect than small series do is also exquisite.