0

我需要帮助来解决视频播放器 jquery 和花式盒子 jquery 之间的 jquery 冲突问题吗?

视频播放器脚本

<script src="videoplayer/videos/video.js"></script>

<script type="text/javascript" src="
http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>

<script src="videoplayer/js/jquery.easing.1.3.js" type="text/javascript"></script>

花式盒子脚本

<script type="text/javascript" src="jquery-1.10.1.min.js"></script>
<script type="text/javascript" src="jquery.mousewheel-3.0.6.pack.js">   </script>
<script type="text/javascript" src="jquery.fancybox.js?v=2.1.5"></script>
<script type="text/javascript" src="jquery.fancybox-buttons.js?v=1.0.5"></script>
<script type="text/javascript" src="jquery.fancybox-thumbs.js?v=1.0.7"></script>
<script type="text/javascript" src="jquery.fancybox-media.js?v=1.0.6"></script>

问题

jquery.easing.1.3.js script conflict with fancybox lightbox jquery? 

when i used this method then video player not working properly  

<script src="videoplayer/js/jquery.easing.1.3.js" type="text/javascript"></script>

<script type="text/javascript" language="javascript">
var jq = jQuery.noConflict();
</script>
4

1 回答 1

0

如果两个库之间有冲突,请尝试

$.noConflict();

或者

jQuery.noConflict();

关于 noConflict 的更多信息:http: //api.jquery.com/jQuery.noConflict/

于 2013-10-09T08:08:29.353 回答