JQuery图像旋转器的问题

JQuery图像旋转器的问题,jquery,html,css,vb.net,Jquery,Html,Css,Vb.net,我有一个使用JQuery创建的图像旋转器,但当它运行时,我收到一条错误消息,上面说MicrosoftJScript运行时错误:预期为Object。这是我正在使用的代码 提前谢谢 <!doctype html> <html> <head> <title>JQuery Test</title> <style type="text/css"> #nav { margin: 20px auto } #nav a { padding:

我有一个使用JQuery创建的图像旋转器,但当它运行时,我收到一条错误消息,上面说MicrosoftJScript运行时错误:预期为Object。这是我正在使用的代码

提前谢谢

<!doctype html>
<html>
<head>
<title>JQuery Test</title>
<style type="text/css">
#nav { margin: 20px auto }
#nav a { padding: 4px 6px; margin: 3px; border: 1px solid #ccc; text-align: center; text-decoration: none; background-color: #ddd }
#nav a.activeSlide { color: #c00 }
#nav a:focus { outline: none; }

.slideshow { margin: 20px auto; padding: 0; clear: left; }
.slide { margin: 0; padding: 0 }
.slideshow, .slide { height: 232px; width: 710px; }
.slideshow img { padding: 15px; border: 1px solid #ccc; background-color: #eee; margin: 0 }
</style>
<!-- include jQuery library -->
<script type="text/javascript"  src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<!-- include Cycle plugin -->
<script type="text/javascript" src="Scripts/Test.js"></script>
<script type="text/javascript">
$j = jQuery.noConflict();

$(document).ready(function () {
    $('.slideshow').cycle({
        fx: 'scrollLeft',
        timeout: 0,
        pager: '#nav'
    });
});
</script>
</head>
<body>
<div style="margin:auto;text-align:center"><div id="nav"></div></div>
<div class="slideshow">
    <div class="slide">
        <img src="Images/Get Inspired/ThumbNails/Th.png" width="200"  height="200" />
        <img src="Images/Get Inspired/ThumbNails/Th.png" width="200" height="200" />
        <img src="Images/Get Inspired/ThumbNails/Th.png" width="200" height="200" />
    </div>
    <div class="slide">
        <img src="Images/Get Inspired/ThumbNails/Th.png" width="200" height="200" />
        <img src="Images/Get Inspired/ThumbNails/Th.png" width="200" height="200" />
        <img src="Images/Get Inspired/ThumbNails/Th.png" width="200" height="200" />
    </div>
    <div class="slide">
        <img src="Images/Get Inspired/ThumbNails/Th.png" width="200" height="200" />
        <img src="Images/Get Inspired/ThumbNails/Th.png" width="200" height="200" />
        <img src="Images/Get Inspired/ThumbNails/Th.png" width="200" height="200" />
    </div>
</div>
 </body>
  </html>

JQuery测试
#导航{边距:20px自动}
#导航a{填充:4px 6px;边距:3px;边框:1px实心#ccc;文本对齐:居中;文本装饰:无;背景色:#ddd}
#导航a.activeSlide{color:#c00}
#导航a:焦点{大纲:无;}
.slideshow{margin:20px auto;padding:0;clear:left;}
.slide{边距:0;填充:0}
.slideshow.slide{高度:232px;宽度:710px;}
.slideshow img{填充:15px;边框:1px实心#ccc;背景色:#eee;边距:0}
$j=jQuery.noConflict();
$(文档).ready(函数(){
$('.slideshow')。循环({
fx:'向左滚动',
超时:0,
寻呼机:“#导航”
});
});

这对我很有效,只需删除以下内容:

$j = jQuery.noConflict();
希望对你有帮助