开发者

Accordion menu and IE7+ problem

开发者 https://www.devze.com 2023-03-07 12:22 出处:网络
jQuery.noConflict(); (function($){ $(function(){ $(\"#jv_amenu_side49\").accordion({ initShow : \"ul.current\",
jQuery.noConflict(); 
(function($){
    $(function(){
         $("#jv_amenu_side49").accordion({     

             initShow : "ul.current",
             objClass:".jv_maccordion",
             slide:1             });
    }); })(jQuery);      (function($){
    $(function(){
         $("#jv_amenu_side49").aMenuLoad({
             activeItemId:1,
      开发者_如何学编程       moduleId:49,
            eventType:1             
    }); });          })(jQuery);

Opera Firefox Chrome - all work is good but IE 7 and IE 9 have an error Char:4 Error: Object doesnt support this property or method Code:0 at this line: initShow : "ul.current",

i think it is UL tag but dont have an idea how to do it workable there is a left column menu


Tough to see. You should past the HTML code that is relevant as well.

Anyway, are you sure you don't want initShow to be "li.current" or "ul .current"? Doesn't look right how you have it now, because that implies that the ul has a class of .current.

0

精彩评论

暂无评论...
验证码 换一张
取 消