jQuery Accordion: IE animation issues

后端 未结 16 1525
我寻月下人不归
我寻月下人不归 2020-12-25 14:39

Update

I am making this a community wiki, for three reasons:

  • I don\'t feel like I got a definitive answer, but
  • I have long since stopped nee
相关标签:
16条回答
  • 2020-12-25 15:16

    In options you should set:

     navigation: true
    
    0 讨论(0)
  • 2020-12-25 15:16

    Just change 'autoHeight: false' to 'autoHeight: true'.

    0 讨论(0)
  • 2020-12-25 15:19

    Same problem as all in IE7 with well formed standard HTML markup. What finally worked was removing autoHeight: "false" and using clearStyle: "true".
    I also created an IE < 8 version of the accordion Initialization with:

    if ( $.browser.msie && $.browser.version < 8 ) {
        //ie<8 version
    }
    else {
        //version for the good browsers
    }
    
    0 讨论(0)
  • 2020-12-25 15:21

    Having similar issues, and I notice a few people suggesting looking at doctypes. I just tried viewing the actual jQuery UI site and their demo accordion work just fine in ie6, suggesting it is a problem with my code (more detective work for me). But I also notice that the jquery.UI sites doctype is simply <!DOCTYPE html>

    0 讨论(0)
  • 2020-12-25 15:23

    I was having a problem where the div below my header in the accordion, which had a white background over a blue page background, had its background-color disappearing. Sometimes when hovering over another header element, it would show up; sometimes when highlighting text, it would show up again too. It was very strange and ONLY HAPPENING IN IE7.

    Applying zoom:1; targeting only IE7 on the ui-content div fixed this.

    I hope that helps someone because I just spent several hours trying to track this down.

    0 讨论(0)
  • 2020-12-25 15:25

    I have a similar issue, and i fix it by adding this doc type. And it works in both IE and FF

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
    
    0 讨论(0)
提交回复
热议问题