hover时实现此透明,只需如下代码:jquery
$(document).ready(function(){ $("img").hover(function(){ $(this).fadeTo("fast",0.7) },function(){ $(this).fadeTo("fast",1) }) })
转载自:http://www.9958.pw/post/jquery_hover_imgpost