这段代码有错,错在哪里啊---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> 创建自定义对象的绑定事件不触发事件就会自动执行,该如何解决 2010新鲜出炉.原创在线Dom使用手册 请教我的onblur事件为什么得不到this.value呢? Firefox出幺蛾子啦 在XSL中执行execCommand的问题 动态从取数据生成下面的表怎么实现像树一样的折叠效果 js 生成树的时候是如何判断前面那一排线的 iframe能自己调节高度吗? 将鼠标放在某一段文字或者表格的某一列上面时,会浮出一个小方框出现一些说明文字,请问怎样写? WdatePicker怎么输整点 求教:关于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>