title: on click of div Collapse all the other divs
body: <p>i have 7 divs one beside the other in horizontal line.</p>
  
  <p>i want to make animation when the user click on a div of them the other divs will collapse under the dive clicked.</p>
  
  <p>is there any code to do it no matter what is the code that will do it?</p>
  
  <p>also is the code will work if the divs in a table ?</p>