【www.gdgbn.com--网页配色】

方法一

seo教程ver="document.getelementbyid("div2").style.display="block";">触发显示浮动层


1
2
3

方法二

触发显示浮动层


1
2
3


<script>
$("#div1").mouseover(function(){
$("#div2").show();
$("#div2").bind("mouseleave",function(){
$(this).hide();
});//此句需要写在触发浮动层的函数内
};);
</script>

方法三

funciton mouseover(this){
this.src="1230/image/ok1.png";
}
这句有问题,这里this引用的应该是window对象,你可以随便换个其他的名字,比如:
funciton mouseover(pic){
pic.src="1230/image/ok1.png";
}

 

本文来源:http://www.gdgbn.com/wangyezhizuo/28352/