第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

星星評(píng)價(jià)怎麼做?

星星評(píng)價(jià)怎麼做?

一只斗牛犬 2019-05-23 11:34:53
$(".bstar1").mouseenter(function(e){$('.bstar1').prop('src','images/star.png');});就是指標(biāo)在哪裡,黃星星就會(huì)補(bǔ)滿bstar是灰的star是黃的我越寫越不對(duì),這樣好像不通?怎麼寫才對(duì)?_____________________________更新我寫這樣$('.rate_bstar').hover(function(){$(this).prevAll().prop('src','images/star.png');$(this).prop('src','images/star.png');$(this).nextAll().prop('src','images/bstar.png');},function(){$(this).prevAll().prop('src','images/bstar.png');$(this).prop('src','images/bstar.png');$(this).nextAll().prop('src','images/bstar.png');});發(fā)現(xiàn)這樣可以,但我點(diǎn)擊後我想讓他停在那個(gè)狀態(tài),不要消失
查看完整描述

2 回答

?
慕虎7371278

TA貢獻(xiàn)1802條經(jīng)驗(yàn) 獲得超4個(gè)贊

$("#startImg").on("click",'img',a)
$('#startImgimg').hover(a,b);
functiona(){
$(this).attr('src','images/star.png')
$(this).prevAll().attr('src','images/star.png')
$(this).nextAll().attr('src','images/bstar.png');
}
functionb(){
$('#startImgimg').attr('src','images/bstar.png');
}
                            
查看完整回答
反對(duì) 回復(fù) 2019-05-23
?
慕斯709654

TA貢獻(xiàn)1840條經(jīng)驗(yàn) 獲得超5個(gè)贊

$(".rate_bstar").mouseenter(function(e){
$(this).attr('src','images/star.png').prevAll().attr('src','images/star.png');
});
鼠標(biāo)離開的時(shí)候全部改回來(lái)就行了。
                            
查看完整回答
反對(duì) 回復(fù) 2019-05-23
  • 2 回答
  • 0 關(guān)注
  • 353 瀏覽
慕課專欄
更多

添加回答

了解更多

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)