課程
/前端開(kāi)發(fā)
/JavaScript
/商城分類導(dǎo)航效果
this.className=" " this的class 還原??
2016-04-05
源自:商城分類導(dǎo)航效果 3-1
正在回答
本來(lái)li沒(méi)有設(shè)置類名,所以為空。
this的class 為空
裸奔的蘿卜絲 提問(wèn)者
舉報(bào)
兩種方法實(shí)現(xiàn)分類導(dǎo)航,同時(shí)擴(kuò)展講解其它商城分類導(dǎo)航的制作方法
2 回答this.className=' '是怎么讓li里面的class變化的?
1 回答this.className = "lihover";
1 回答this.className為什么不能寫(xiě)成Lis[i].className
1 回答為什么懸浮層的頂部高度不等于this的頂部高度呢?
2 回答把this換成aLi[i]為什么執(zhí)行不了
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-05-15
本來(lái)li沒(méi)有設(shè)置類名,所以為空。
2016-04-06
this的class 為空