Javascript jQueryMarquee与jQuery1.6.4一起工作吗?

Javascript jQueryMarquee与jQuery1.6.4一起工作吗?,javascript,jquery,marquee,Javascript,Jquery,Marquee,jQueryMarquee与jQuery1.6.4一起工作吗? 这里有一些库可以使用jquery>=1.6.4的信息。 这是我的代码: <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> <script src="https://raw.github.com/tobia/Pause/master/jquery.pause.js

jQueryMarquee与jQuery1.6.4一起工作吗? 这里有一些库可以使用jquery>=1.6.4的信息。 这是我的代码:

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
    <script src="https://raw.github.com/tobia/Pause/master/jquery.pause.js"></script>

    <script src="http://jquery.aamirafridi.com/jquerymarquee/jquery.marquee.js"></script>
    <script>
        $(function(){
            $('#marquee').marquee();
        });
    </script>
    <style type="text/css">
        .marquee {
          width: 300px;
          overflow: hidden;
          border:1px solid #ccc;
        }
    </style>
<body>
    <div id='marquee' class='marquee'>Less text here</div>
</body>

$(函数(){
$('#marquee')。marquee();
});
马奎尔先生{
宽度:300px;
溢出:隐藏;
边框:1px实心#ccc;
}
这里的文字更少

所以我帮你做了测试


答案是否定的,因为jQuery1.7中引入了
on()
。升级而不是使用过时的jQuery版本

那么,你的代码有效吗?你为什么不自己试试呢?jquery 1.6.4-发布日期为2011年9月12日。你还没有升级?我的代码不起作用。我只需要jQuery1.6.4。谢谢你。也许有人知道另一个图书馆?
Error says: "Uncaught TypeError: Object [object Object] has no method 'on' "