課程
/前端開發(fā)
/JavaScript
/JavaScript進(jìn)階篇
?window.location.; ?怎樣加target=_blank 屬性呢?
2015-04-21
源自:JavaScript進(jìn)階篇 8-17
正在回答
window.location.href是改變當(dāng)前標(biāo)簽頁的url
如果要你那樣的話應(yīng)該使用window.open("
舉報(bào)
本課程從如何插入JS代碼開始,帶您進(jìn)入網(wǎng)頁動態(tài)交互世界
3 回答window.location.href = "http://idcbgp.cn/"這句可以換成window.open(window.location.href = "http://idcbgp.cn/";)嗎?
5 回答為什么window.open("http://www.baidu.com", "width=60 ,heigth=40,_blank");不能實(shí)現(xiàn)規(guī)定的大小窗口?
2 回答怎么用setAttribute方法添加inerHTML和color屬性呢?
3 回答關(guān)于setTimeout(window.open("http://www.baidu.com","_self"),5000);
3 回答怎么創(chuàng)建a標(biāo)簽,并加href屬性
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)微信公眾號
2015-04-21
window.location.href是改變當(dāng)前標(biāo)簽頁的url
如果要你那樣的話應(yīng)該使用window.open("