简体   繁体   中英

jQuery Slider not working in IE

I have a jquery slider which is working good in Firefox and Chrome. But its not working on IE. Here is my code

 <script type="application/x-javascript">
<!--
  jQuery(function(){
    jQuery("#featured > ul").tabs({fx: {opacity: 'toggle',}}).tabs("rotate", 5000, true);
    jQuery("#contactus, #quote").fancybox({
    'width'           : '75%',
    'height'          : '100%',
    'autoScale'       : false,
    'transitionIn'    : 'none',
    'transitionOut'   : 'none',
    'type'            : 'iframe'
    });
  });
//-->
</script>

Any help and suggestions will be highly appreciable.

Internet Explorer does not have trailing commas when defining object literals. I have not tested it as I don't have the browser here, but have you tried removing the extra comma after opacity : 'toggle' ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM