Descripción: Un widget para el reinicio o apagado cronometrado de las computadoras, adecuado para Windows 2K/XP/2003
Autor: once lobos
Correo electrónico: [email protected]
QQ: 112183883
-------------------------------------------------------------*/
El código es el siguiente:
<!-
/*-------------------- Windowstimer ---------------------------------------------
Descripción: Un widget para el reinicio o apagado cronometrado de las computadoras, adecuado para Windows 2K/XP/2003
Autor: once lobos
Correo electrónico: [email protected]
QQ: 112183883
Sitio web: http://www.w3cg.net/
-------------------------------------------------------------------------------*/
->
<html>
<Evista>
<title> ♀Windows System Timer♀ </title>
<metahttp-equiv = "content-type" content = "text/html; charset = gb2312">
<HTA: aplicación
id = "wtimer"
maximizeButton = "no"
minimizeButton = "Sí"
singleInstance = "Sí"
contextMenu = "Sí"
sysmenu = "sí"
versión = "1.0"
innerBorder = "no"
subtítulos = "Sí"
showitaskbar = "sí"
borde = "normal"
BorderStyle = "Normal"
ApplicationName = "WindowStimer"
icon = "Timerico.ico"
/>
<Styletype = "text/css">
<!-
*{Font-Family: CourierNew, Arial, Sans-Serif; Font-Size: 9pt;}
Cuerpo {Overflow-y: Hidden;}
Diva: Link, Diva: Visited {Text-Decoration: None; Color:#000}
Diva: Hover {Text-Decoration: Underline; Color:#F00}
#footerInfo {ancho: 100%; pantalla: tabla; margen-top: 5px;}
#left {float: izquierda; ancho: 70%;}
#right {float: correcto; ancho: 29%; text-align: right; margen-derecha: 1px;}
->
</style>
<ScriptLanguage = "javaScript">
<!-
$ bl_sleep = false;
functetgetObject ($ obj) {
return (document.getElementById ($ obj));
}
String.prototype.parseInt = function () {
return (parseint (this));
}
functetRadioval ($ name) {
$ oems = document.getElementsByName ($ name);
para ($ i = 0; $ i <$ oems.length; $ i ++) {
if ($ oems [$ i] .ecked) {return ($ oems [$ i] .value);}
}
}
functionIsDeClared ($ varname) {
return (typeof ($ varname)! = "indefinido");
}
functionchstatus ($ name, $ status) {
$ ooems = document.getElementsByName ($ name);
para ($ a = 0; $ a <$ ooems.length; $ a ++) {