开发者

jquery cycle not working/playing in IE7

开发者 https://www.devze.com 2022-12-29 07:36 出处:网络
got the jq cycle plugin to work nicely on all the other major browsers, but IE7 just shows the first nested element (an img with a anchor wrapped around it) with no fade/animation.

got the jq cycle plugin to work nicely on all the other major browsers, but IE7 just shows the first nested element (an img with a anchor wrapped around it) with no fade/animation.

http://alitedesigns.com/

I checked for trailing commas 开发者_JS百科after the custom attributes for cycle, any thoughts on why IE won't play nice?

thanks!


You are overriding jQuery main object with the local variable:

var jQuery = jQuery.noConflict();

You should choose any other name and use it instead:

var jQueryOther = jQuery.noConflict();
jQueryOther(document).ready(function() {
    jQueryOther('.slideshow').cycle({
        fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
        speed: 2500,
        timeout: 6000,
        random: 1,
        pause: 1
    });
});   
0

精彩评论

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