function mysure(){
var x=confirm("是否取消設置");
if(x==true){
document.getElementById("txt").removeAttribute('style');
}
else{}
}
function openWindow()
{
var my=confirm("是否打開該網站?");
if(my==true){
window.open("http://www.xianlaiwan.cn/","weidth=400","height=500","_blank")};
else
{window.close()} ;
function openWindow(){
var mywin=confirm("是否打開?");
if(mywin==true){
window.open('http://www.xianlaiwan.cn/','width=400px,height=500px,menubar=no,toolbar=no';}
else
window.close();}
function openWindow(){
var qqii=confirm("是否打開?");
if(qqii==true){
window.open('http://www.xianlaiwan.cn/','_blank','width=400,height=500,menubar=no,toolbar=no');
}else{
window.close();
}
}
fuction question()
var a = confirm("蛋糕是誰吃的?");
if (a == true){
var b = prompt("小明還是小紅","小明")
if(b == true){
document.write("你對了");
}
else(){
document.write("你錯了");
}
}
function clearall()
{
var meg = confirm("是否取消設置?");
var text = document.getElementById("txt");
if(meg==true){
text.setAttribute('style','');
}
else
{
}
}