0
我有三個不同的jquery腳本在我的頁面上運行,我認爲使用不同版本的jquery,它不會同時工作。我嘗試過使用noconflict無濟於事 - 我想答案很簡單,代碼很亂,但我對Jquery很新,所以無法發現它。我試圖擺脫各種各樣的位,而其中一個總是停止工作,因爲它現在只是幻燈片上的前進和後退按鈕,這是最後一塊代碼(標題爲'相機')不是工作,但下拉菜單和「廣場」是。在此先感謝您的幫助。這裏是代碼:衝突的JQuery腳本
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" >
<title>AMAR </title>
<meta name="description" content="AMAR">
<link rel='stylesheet' id='camera-css' href='css/camera.css' type='text/css' media='all'>
<link rel="stylesheet" type="text/css" href="flexdropdown.css" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="flexdropdown.js">
<script src="http://www.google.com/jsapi" type="text/javascript"></script>
<script type="t
ext/javascript">google.load("jquery","1.6.1");</script>
<link rel="stylesheet" href="css/jsquares.css" type="text/css" media="all" />
<script src="js/jquery.hoverintent.min.js" type="text/javascript"></script>
<script src="js/jquery.jsquares.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#js-container').jsquares();
});
</script>
<script type='text/javascript' src='scripts/jquery.min.js'></script>
<script type='text/javascript' src='scripts/jquery.mobile.customized.min.js'></script>
<script type='text/javascript' src='scripts/jquery.easing.1.3.js'></script>
<script type='text/javascript' src='scripts/camera.min.js'></script>
<script>
jQuery(function(){
jQuery('#camera_wrap_1').camera({
height: '40%',
thumbnails: false,
fx: 'simpleFade', hover: false, navigationHover: false, portrait: false, time: 8000,
});
jQuery('#camera_wrap_2').camera({
height: '30%',
loader: 'bar',
pagination: false,
thumbnails: false
});
});
</script>