Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have a div and this div have the ul and some items in li under the ul.
i have bind this ul using bootstrap. when i restore down the browser, i want div ul should be collapse in a link called(+ sign) and when click on this sign (+) then the all item should be show as slide. i want to do this work using bootstrap.

please anyone help.

thanks in advance.
Posted

1 solution

using display property of css you can set it to block to show and none to hide on click of + and - image
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900