我正在玩 jquery 的环形交叉路口插件。我想添加 3dubs 拖放插件来增强它,但我不断收到 $event.fixHooks 错误。有人可以解释那个错误是什么以及是否有修复?
这是我的代码:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script>
<script src="js/jquery.roundabout.min.js"></script>
<script src="js/jquery.event.drag-2.2.js"></script>
<script src="js/jquery.event.drop-2.2.js"></script>
<script type='text/javascript'>
$(document).ready(function() {
$('ul').roundabout();
});
</script>
<style type="text/css">
* {
padding: 0;
margin: 0;
border: 0;
}
#carousel {
margin: 300px 0 0 100px;
text-align: center;
}
.roundabout-holder {
list-style: none;
padding: 0;
margin: 0 auto;
height: 200px;
width: 800px;
}
.roundabout-moveable-item {
height: 200px;
width: 300px;
cursor: pointer;
background-color: #ccc;
border: 1px solid #999;
}
.roundabout-in-focus {
cursor: auto;
}
</style>
<title>Round About Test</title>
</head>
<body>
<div id="carousel">
<ul>
<li>Carousel Item 1</li>
<li>Carousel Item 2</li>
<li>Carousel Item 3</li>
<li>Carousel Item 4</li>
<li>Carousel Item 5</li>
<li>Carousel Item 6</li>
</ul>
</div>
</body>
</html>
这是完整的错误:
TypeError: $event.fixHooks is undefined
filter: function( event, orig ) {