説明:Windows2K/XP/2003に適した、コンピューターのタイミング付き再起動またはシャットダウン用のウィジェット
著者:イレブンオオカミ
QQ:112183883
-------------------------------------------------------------------*/
コードは次のとおりです。
<! -
/*-------------------- WindowStimer -----------------------------------------------------------------------------------------------------------------------------------
説明:Windows2K/XP/2003に適した、コンピューターのタイミング付き再起動またはシャットダウン用のウィジェット
著者:イレブンオオカミ
QQ:112183883
ウェブサイト:http://www.w3cg.net/
------------------------------------------------------------------------------------*/
- >
<html>
<head>
<title>♀windowsシステムタイマー</title>
<metahttp-equiv = "content-type" content = "text/html; charset = gb2312">
<HTA:アプリケーション
id = "wtimer"
MaximizeButton = "no"
minimizebutton = "yes"
singleInstance = "はい"
ContextMenu = "はい"
sysmenu = "yes"
version = "1.0"
innerborder = "no"
キャプション= "はい"
showitaskbar = "yes"
border = "正常"
BORDERSTYLE = "正常"
ApplicationName = "WindowStimer"
icon = "timerico.ico"
/>
<styletype = "text/css">
<! -
*{font-family:couriernew、arial、sans-serif; font-size:9pt;}
ボディ{Overflow-y:hidden;}
DIVA:リンク、歌姫:訪問{テキスト装飾:なし;色:#000}
DIVA:HOVER {TEXT-DECORATION:UNDERLINE; COLOR:#F00}
#footerinfo {width:100%; display:table; margin-top:5px;}
#left {float:left; width:70%;}
#right {float:right; width:29%; text-align:right; margin-right:1px;}
- >
</style>
<ScriptLanguage = "JavaScript">
<! -
$ bl_sleep = false;
functiongetObject($ obj){
return(document.getElementById($ obj));
}
string.prototype.parseint = function(){
return(parseint(this));
}
functiongetRadioval($ name){
$ oems = document.getElementsbyname($ name);
for($ i = 0; $ i <$ oems.length; $ i ++){
if($ oems [$ i] .Checked){return($ oems [$ i] .value);}
}
}
functionisdeclared($ varname){
return(typeof($ varname)!= "undefined");
}
functionchStatus($ name、$ status){
$ ooems = document.getElementsbyname($ name);
for($ a = 0; $ a <$ ooems.length; $ a ++){