第一个:
$('#info .images .mini').find('img').hover(function () {
$('#info .images .max img:eq(0)').attr('src',$(this).get(0).src.replace("_3","_1"));
},function () {
}
);
$('#info .images .mini span').find('a').hover(function () {
if($(this).attr('sc')!="0") {
$('#info .images .max img:eq(0)').attr('src','http://img.letao.com/img/'+$(this).attr('sc').substring(0,2)+'/'+$(this).attr('sc').replace(".","_0.")+'');
}
},function () {
}
第二个:
<DIV class=normal id=boxLanguageOpener
onmouseover="$('languageSelection').show(); $('boxLanguageCloserTop').show(); $('boxLanguageCloser').show(); this.className = 'active'; if($('boxMenuAccountUnlogged')) { $('boxMenuAccountUnlogged').hide();$('boxLoginOpener').className='areaRiservata';$('boxLoginCloser').hide();$('boxLoginCloserTop').hide();}">语言</DIV>
<DIV id=languageSelection style="DISPLAY: none" name="new_language"><A
onclick="document.location = 'http://'; return false;"
href="http://www.alessi.com/en/#">中文</A> <A
onclick="document.location = 'http://'; return false;"
href="http://www.alessi.com/en/#">英文</A> </DIV>
两个都是实现鼠标放上去,显示特效,第一个鼠标放上小图,另一个图片显示出他的大图形式,
第二个是鼠标放上去显示出一个登录框!
$('#info .images .mini').find('img').hover(function () {
$('#info .images .max img:eq(0)').attr('src',$(this).get(0).src.replace("_3","_1"));
},function () {
}
);
$('#info .images .mini span').find('a').hover(function () {
if($(this).attr('sc')!="0") {
$('#info .images .max img:eq(0)').attr('src','http://img.letao.com/img/'+$(this).attr('sc').substring(0,2)+'/'+$(this).attr('sc').replace(".","_0.")+'');
}
},function () {
}
第二个:
<DIV class=normal id=boxLanguageOpener
onmouseover="$('languageSelection').show(); $('boxLanguageCloserTop').show(); $('boxLanguageCloser').show(); this.className = 'active'; if($('boxMenuAccountUnlogged')) { $('boxMenuAccountUnlogged').hide();$('boxLoginOpener').className='areaRiservata';$('boxLoginCloser').hide();$('boxLoginCloserTop').hide();}">语言</DIV>
<DIV id=languageSelection style="DISPLAY: none" name="new_language"><A
onclick="document.location = 'http://'; return false;"
href="http://www.alessi.com/en/#">中文</A> <A
onclick="document.location = 'http://'; return false;"
href="http://www.alessi.com/en/#">英文</A> </DIV>
两个都是实现鼠标放上去,显示特效,第一个鼠标放上小图,另一个图片显示出他的大图形式,
第二个是鼠标放上去显示出一个登录框!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货