"重新启动"
"关机"
多谢指点
3 个解决方案
#1
不可以
#2
那么把"确定","取消"两个按钮改称其他文字显示
并且再增加一个按钮,这样呢?
并且再增加一个按钮,这样呢?
#3
<script>
window.confirm=function(str)
{
var html="\
<div align='center'>\
<div style='border:2px outset buttonlight;background:buttonface;width:400px;height:100px;'>\
<div style='height:20px;background:highlight;font:caption;color:white;padding:2 0 0 10;text-align:left;'>blueDestiny confirm:</div>\
"+str+"\
<div><INPUT TYPE='radio' NAME=''><INPUT TYPE='radio' NAME=''></div>\
<div style='padding:20px;'><input type='button' onclick='alert(\"yes\")' value='YES'> <input type='button' onclick='alert(\"no\")' value='N O'></div>\
</div></div>\
"
document.write(html);
}
confirm("blueDestiny,never-online")
</script>
window.confirm=function(str)
{
var html="\
<div align='center'>\
<div style='border:2px outset buttonlight;background:buttonface;width:400px;height:100px;'>\
<div style='height:20px;background:highlight;font:caption;color:white;padding:2 0 0 10;text-align:left;'>blueDestiny confirm:</div>\
"+str+"\
<div><INPUT TYPE='radio' NAME=''><INPUT TYPE='radio' NAME=''></div>\
<div style='padding:20px;'><input type='button' onclick='alert(\"yes\")' value='YES'> <input type='button' onclick='alert(\"no\")' value='N O'></div>\
</div></div>\
"
document.write(html);
}
confirm("blueDestiny,never-online")
</script>
#1
不可以
#2
那么把"确定","取消"两个按钮改称其他文字显示
并且再增加一个按钮,这样呢?
并且再增加一个按钮,这样呢?
#3
<script>
window.confirm=function(str)
{
var html="\
<div align='center'>\
<div style='border:2px outset buttonlight;background:buttonface;width:400px;height:100px;'>\
<div style='height:20px;background:highlight;font:caption;color:white;padding:2 0 0 10;text-align:left;'>blueDestiny confirm:</div>\
"+str+"\
<div><INPUT TYPE='radio' NAME=''><INPUT TYPE='radio' NAME=''></div>\
<div style='padding:20px;'><input type='button' onclick='alert(\"yes\")' value='YES'> <input type='button' onclick='alert(\"no\")' value='N O'></div>\
</div></div>\
"
document.write(html);
}
confirm("blueDestiny,never-online")
</script>
window.confirm=function(str)
{
var html="\
<div align='center'>\
<div style='border:2px outset buttonlight;background:buttonface;width:400px;height:100px;'>\
<div style='height:20px;background:highlight;font:caption;color:white;padding:2 0 0 10;text-align:left;'>blueDestiny confirm:</div>\
"+str+"\
<div><INPUT TYPE='radio' NAME=''><INPUT TYPE='radio' NAME=''></div>\
<div style='padding:20px;'><input type='button' onclick='alert(\"yes\")' value='YES'> <input type='button' onclick='alert(\"no\")' value='N O'></div>\
</div></div>\
"
document.write(html);
}
confirm("blueDestiny,never-online")
</script>