在我的网站上,我包含了这些jquery脚本:
<script language="javascript" type="text/javascript" src="js/jquery.js"></script>
<script language="javascript" type="text/javascript" src="js/jquery.easing.js"></script>
<script language="javascript" type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/jquery.countdown.js"></script>
<script type="text/javascript" src="js/jquery.mousewheel.js"></script>
<script type="text/javascript" src="js/jquery.jscrollpane.min.js"></script>
<script type="text/javascript" src="js/jwplayer.js"></script>
我想使用zWeatherFeed:http://www.zazar.net/developers/jquery/zweatherfeed/
我应该在我的网站标题中包含此代码:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="jquery.zweatherfeed.min.js" type="text/javascript"></script>
但是当我包含jquery.min.js时,有些javascripts,例如:jscroll pane不起作用,另一个问题是:
在我插入的身体中:
<div id="test"></div>
加载网站后:
<div id="test" class="weatherFeed"></div> created but not load sub divs for example:
<div class="weatherItem odd day">
<div class="weatherCity">... (city) ...</div>
<div class="weatherCountry">... (country) ...</div>
<div class="weatherTemp">... (temperature) ...</div>
<div class="weatherDesc">... (condition) ...</div>
答案 0 :(得分:0)
在没有jquery.min.js的情况下尝试它,因为你已经从你的存储中包含了完整的jquery.js ......