摘要:
写过这样一段jq$('ul li.navbox').hover(function(){ $('div',$(this)).fadeIn('fast'); // 先忽略掉‘div’看,$($(this))也是jq对象 },function(){ $('div',$(this)).fadeOut('fast'); });对比看这样写效果是一样的$('ul li.navbox').hover(function(){ $('div',this).fadeIn('fast'); 阅读全文
posted @ 2011-07-28 11:18
白羊与晚霞
阅读(605)
评论(3)
推荐(2)

浙公网安备 33010602011771号