stepcarousel.js不工作FF最新版本

时间:2013-12-13 06:33:13

标签: javascript jquery

stepcarousel.js无效FF最新版

我的剧本是:

<script type="text/javascript">  
    stepcarousel.setup({
        galleryid: 'gallery11012',
        beltclass: 'belt',
        panelclass: 'panel',
        autostep: {
            enable: true,
            moveby: 1,
            pause: 5000
        },
        panelbehavior: {
            speed: 1000,
            wraparound: true,
            persist: true
        },
        defaultbuttons: {
            enable: true,
            moveby: 1,
            leftnav: ['/images/leftnav_green.gif', -5, 90],
            rightnav: ['/images/rightnav_green.gif', -10, 90]
        },
        statusvars: ['statusA_11012', 'statusB_11012', 'statusC_11012'],
        contenttype: ['inline']
    });
</script> 

此代码在FF2.0和IE最新版本

中工作
Timestamp: Friday 13 December 2013 12:09:00  IST
Error: TypeError: config.$belt.animate is not a function
Line: 193

错误行是:

config.$belt.animate({left: -endpoint+'px'}, config.panelbehavior.speed, function(){config.onslideaction(this)})

0 个答案:

没有答案