这段代码有错,错在哪里啊---jQuery $(document).ready(function() { $('#overview img').bind("click", function() { $("#introduceMain p").fadeIn("slow"); });}); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <div id="overview"> <div class="title"> 地图鸟瞰<span>Map Overview</span> <img src="img/Download.png" alt="" /> </div> …………………… ……………………HTML如上…… 代码本身看不出问题。你看看这句是否选中$("#introduceMain p") <script src="js/jquery-1.3.2.js" type="text/javascript"> </script> <script>$(document).ready(function(){ $("p").fadeIn("fast"); $('#overview img').bind("click", function(){ $("#introduceMain p").fadeOut("slow"); }); });</script> <div id="overview"> <div class="title"> 地图鸟瞰 <span>Map Overview </span> <img src="img/Download.png" alt="" /> </div> </div><div id="introduceMain"><p >xxxxxxxxxx</p></div> 看看这是怎么回事? 有关日期自动计算的问题 新手问题,高分相送 如何实现表格中的checkbox的全选? 获取TD元素。。 菜鸟一个.问个JS的问题,请大伙帮帮俺!! 如何隱藏使用location.reload(true)後出現的是否重新傳送資訊IE對話框? 请问我做的网页在本地不出错,可在用户机子上却在底下状态栏上显示页面有错误。。。。 请问alter的具体用法,如何才能自己改写标题兰 关于IE6兼容的问题 求教:关于javascript中数字验证的问题(甚急!!!) 大家写JQUERY一般用什么啊 ?
<div class="title">
地图鸟瞰<span>Map Overview</span>
<img src="img/Download.png" alt="" />
</div>
……………………
……………………HTML如上……
<script src="js/jquery-1.3.2.js" type="text/javascript"> </script>
<script>
$(document).ready(function(){ $("p").fadeIn("fast");
$('#overview img').bind("click", function(){
$("#introduceMain p").fadeOut("slow");
});
});
</script>
<div id="overview">
<div class="title">
地图鸟瞰 <span>Map Overview </span>
<img src="img/Download.png" alt="" />
</div>
</div>
<div id="introduceMain"><p >xxxxxxxxxx</p></div>