shift and pop down menu

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • abhishekbrave
    New Member
    • Dec 2007
    • 79

    shift and pop down menu

    I want to create a menu in left pannel of HTML page. Each menu item will have different sub menu items.
    My requirement is that whne a user select or click on a menu item the sub menu items should pop down and the rest of the menu items should shift below.

    Is this requirement is achievable wih the help of java script . If yes, then any pointers will be very helpful.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    What you're looking for is the style.display property. Set the submenu to "block" to display which will push the rest of the menu down. Set it to "none" to hide it which would push the menu items back up.

    Comment

    Working...