我需要帮助来解决视频播放器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>
Fancy Box Scripts
<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>
答案 0 :(得分:0)
如果两个库之间存在冲突,请尝试
$.noConflict();
或
jQuery.noConflict();
有关noConflict的更多信息:http://api.jquery.com/jQuery.noConflict/