課程
/前端開發(fā)
/JavaScript
/彈出層效果
哪位大哥,怎么點(diǎn)擊外面的區(qū)域讓彈出框消失
2018-12-01
源自:彈出層效果 3-8
正在回答
謝謝你哦,知道了
mask.onclick = funtion (){
???? document.body.removeChild(oMask);
???? document.body.removeChild(oLogin);
}
或者
? ? ?oMask.style.display = 'none';
? ? ?oLogin.style.display = 'none';
舉報(bào)
通過本課程的學(xué)習(xí)讓您能靈活運(yùn)用知識,制作出超炫的彈出層效果
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2018-12-01
謝謝你哦,知道了
2018-12-01
mask.onclick = funtion (){
???? document.body.removeChild(oMask);
???? document.body.removeChild(oLogin);
}
或者
mask.onclick = funtion (){
? ? ?oMask.style.display = 'none';
? ? ?oLogin.style.display = 'none';
}