这两个脚本独立工作,但一起使用时会发生冲突。任何帮助,将不胜感激。
<!-- scroll-box ================================================== -->
<script type="text/javascript" src="script/jquery.js"></script>
<script type="text/javascript" src="script/ui.core.js"></script>
<script type="text/javascript" src="script/jquery.scroll-follow.js"></script>
<script type="text/javascript">
$( document ).ready( function () {
$( '#box-scroll' ).scrollFollow();
});
</script>
<!-- button================================================== -->
<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"></script>
<script>
$(function() {
$( "#check" ).button();
$( ".category" ).buttonset();
});
</script>