<script type="text/javascript">
function openWindow(){
var queren;
queren=confirm("是否打開(kāi)?");
if(queren==true){
window.open('http://idcbgp.cn/','width=400','height=500','menubar=no','toolbar=no')
}
else
{document.write("不打開(kāi).");}
}
</script>
function openWindow(){
var queren;
queren=confirm("是否打開(kāi)?");
if(queren==true){
window.open('http://idcbgp.cn/','width=400','height=500','menubar=no','toolbar=no')
}
else
{document.write("不打開(kāi).");}
}
</script>
2023-03-20
document.getElementById("p1").style.color="blue";
2023-02-07
function openWindow(){
var mymessage=confirm("是否打開(kāi)");
if(mymessage==true){
var myWeb=prompt("請(qǐng)輸入你的網(wǎng)址");
if(myWeb!=null){
window.open(myWeb,'_blank','width=400,height=500,menubar=no,toolbar=no');
}
}
}
搞定
var mymessage=confirm("是否打開(kāi)");
if(mymessage==true){
var myWeb=prompt("請(qǐng)輸入你的網(wǎng)址");
if(myWeb!=null){
window.open(myWeb,'_blank','width=400,height=500,menubar=no,toolbar=no');
}
}
}
搞定
2022-12-20