Internet explorer says Object doesn't support this property or method

后端 未结 8 973
遥遥无期
遥遥无期 2021-01-07 03:14

This line is 79:

window.addEvent(\'domready\', function(){     
    mySlide = new Fx.Slide(\'advert\');
    mySlide.hide();
});

It also doe

8条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-07 03:33

    seems like you aren't really taking advantage of jQuery. I don't speak mooTools, so I may not get this completely right, but I would try something like this:

    jQuery(document).ready( function() {
        //you could convert this to jQuery too, of course
        mySlide = new Fx.Slide('advert');
        mySlide.hide(); 
    } );
    
    jQuery(this).wrap( '
    ' ) .parent('.overflow-wrapper').css('overflow', '' );

提交回复
热议问题