jquery ui accordions within tabs

后端 未结 7 577
失恋的感觉
失恋的感觉 2020-12-05 10:17

I’ve run into a problem using accordions within tabs, the initially inactive accordions do not render their content correctly when their tab is selected. Reading around I s

7条回答
  •  鱼传尺愫
    2020-12-05 10:57

    Initialize accordion when you activate tab:

    sample:

    $('.selector').bind('tabsadd', function(event, ui) {
      ...
    });
    

    your sample:

      
    

    Maybe that you will need to initialize every accordion special for each tab.

    Or use latest UI lib:

        
            
            
            
            
            
            
    

提交回复
热议问题