Descrição: Um widget para reinicialização ou desligamento cronometrado de computadores, adequado para Windows 2K/XP/2003
Autor: Onze lobos
E -mail: [email protected]
QQ: 112183883
-------------------------------------------------------------*/
O código é o seguinte:
<!-
/*-------------------- Windowstimer -----------------------------------------------
Descrição: Um widget para reinicialização ou desligamento cronometrado de computadores, adequado para Windows 2K/XP/2003
Autor: Onze lobos
E -mail: [email protected]
QQ: 112183883
Site: http://www.w3cg.net/
-----------------------------------------------------------------------------*//
->
<html>
<head>
<title> ♀Windows System Timer♀ </ititle>
<metahttp-equiv = "content-type" content = "text/html; charset = gb2312">
<HTA: Aplicação
id = "wtimer"
maximizeButton = "não"
minimizebutton = "sim"
singleInstance = "Sim"
contextmenu = "sim"
sysmenu = "sim"
versão = "1.0"
INNERBORDER = "NÃO"
Legenda = "Sim"
showitaskbar = "sim"
Border = "Normal"
Borderstyle = "Normal"
ApplicationName = "Windowstimer"
icon = "timerico.ico"
/>
<StyleType = "text/css">
<!-
*{Font-Family: CourierNew, Arial, Sans-Serif; Fonte-tamanho: 9pt;}
Corpo {Overflow-y: Hidden;}
Diva: Link, Diva: Visitado {Decoração de Texto: Nenhum; Cor:#000}
Diva: Hover {decoração de texto: sublinhado; cor:#f00}
#footerinfo {largura: 100%; display: tabela; margin-top: 5px;}
#left {float: esquerda; largura: 70%;}
#right {float: direita; largura: 29%; text-align: direita; margem-direita: 1px;}
->
</Style>
<ScriptLanguage = "javascript">
<!-
$ bl_sleep = false;
functionGeGeTOngject ($ obj) {
return (document.getElementById ($ obj));
}
String.prototype.parseint = function () {
return (parseint (isto));
}
functionGetRadioval ($ nome) {
$ oems = document.getElementsByName ($ nome);
para ($ i = 0; $ i <$ oems.length; $ i ++) {
if ($ OEMs [$ i] .CHecked) {return ($ oems [$ i] .Value);}
}
}
functionIsDeclared ($ varname) {
return (typeof ($ varname)! = "indefinido");
}
FunctionChStatus ($ nome, $ status) {
$ ooems = document.getElementsByName ($ name);
para ($ a = 0; $ a <$ ooems.length; $ a ++) {