I am quite new to Jquery and for the first time tried to use slideToggle to create some dropdowns. A few of them are stacked on top of each other and when one is clicked, all others should collapse. I am sure my code isn't ideal since i'm just starting out, but everything works fine except in IE8. In IE8, the space between the dropdowns collapse when closing one, and everything gets kind of messed up. You can see the problem at demo.djcase.com using the menus on the left side of the page.
All of the jquery code is located at http://demo.djcase.com/sites/all/themes/djcase/script.js
Any help would be appreciated. Thanks. Brian
I think i have it fixed now. I was using the following HTML
I added the following between the closing Div and the start of the list
I styled this to have a line height of 0 so i wouldn't get the extra space. I don't know why this was needed, but it worked.
I guess you are talking about the problem as mentioned here : slideToggle causes margin to disappear in IE8
just giving overflow:hidden to the divs where margin is disappearing would solve it. please check..