Javascript rcarousel滚动效果不工作

Javascript rcarousel滚动效果不工作,javascript,jquery,Javascript,Jquery,在我的网站上使用rcarousel图像库。除了滚动动画(使用这个的原因很明显),一切都很好。在div中是带有页面链接的图像 这是正在运行的脚本: <script type="text/javascript"> jQuery(function( $ ) { $( "#carousel" ).rcarousel({ visible: 7, s

在我的网站上使用rcarousel图像库。除了滚动动画(使用这个的原因很明显),一切都很好。在div中是带有页面链接的图像

这是正在运行的脚本:

<script type="text/javascript">

                jQuery(function( $ ) {
                $( "#carousel" ).rcarousel({
                    visible: 7,
                    step: 3
                });

                $( "#carousel ").rcarousel({
                    margin: 50
                });

                $( "#ui-carousel-next" )
                    .add( "#ui-carousel-prev" )
                    .hover(
                        function() {
                            $( this ).css( "opacity", 1.0 );
                        },
                        function() {
                            $( this ).css( "opacity", 0.8 );
                        }
                    );              
            });
        </script>

jQuery(函数($){
$(“#旋转木马”).rcarousel({
可见:7,
步骤:3
});
$(“#旋转木马”).rcarousel({
差额:50
});
$(“#用户界面旋转木马下一步”)
.添加(“#ui转盘上一页”)
.悬停(
函数(){
$(this.css(“不透明度”,1.0);
},
函数(){
$(this.css(“不透明度”,0.8);
}
);              
});

您似乎没有包含
rcarousel.css
。当我从服务器中包括时,它工作正常

http://ryrych.github.io/rcarousel/widget/css/rcarousel.css

请确保您的CSS路径正确。

显示一些代码…不要期望检查您的站点。对此,我深表歉意。发布运行javascript,希望这足够了..Thnx Sirjith。id确实在css文件中使用了wronf标记,现在效果非常好!