Luch / EasyAccordion

Enhanced Easy Accordion
11 stars 8 forks source link

IE 8 not correctly setting width of .easy-accordion dd - defaults to 0px #6

Open iamjono opened 11 years ago

iamjono commented 11 years ago

IE 8 can't seem to correctly set the width of the .easy-accordion dd element. Needs to be hard coded in CSS for it to then display the content, which is of course, suboptimal.

Reem-Alatrash commented 11 years ago

I'm facing the same issue, the .replacewith() method to add "dd-content" is not working for older IE versions(nor do the other jquery methods like html(), appendTo()...etc).

williamluisi commented 11 years ago

Having the same problem. Anyone have any luck w/ this?

Luch commented 11 years ago

I do not have a test environment at hand to test with IE8, but I do have a suggestion. Have you guys tried to use $(window).load(function() { instead of $(document).ready(function () {, Might help since $(window).load waits until all images are loaded and their sizes should be known at that point.