Description: Un widget pour le redémarrage chronométré ou l'arrêt des ordinateurs, adapté à Windows 2K / XP / 2003
Auteur: onze loups
Courriel: [email protected]
QQ: 112183883
------------------------------------------------------------- * / /
Le code est le suivant:
<! -
/ * -------------------- Windowstimer -----------------------------------------
Description: Un widget pour le redémarrage chronométré ou l'arrêt des ordinateurs, adapté à Windows 2K / XP / 2003
Auteur: onze loups
Courriel: [email protected]
QQ: 112183883
Site Web: http://www.w3cg.net/
------------------------------------------------------------------------------- * /
->
<html>
<adal>
<Title> ♀Windows Timer System♀ </Title>
<Metahttp-Equiv = "Content-Type" Content = "Text / Html; charSet = GB2312">
<HTA: application
id = "wtimer"
maximiserbutton = "no"
minimiserbutton = "oui"
singleinstance = "Oui"
contextMenu = "Oui"
sysmenu = "Oui"
version = "1.0"
innerborder = "no"
Légende = "Oui"
showitaskbar = "Oui"
Border = "Normal"
borderstyle = "normal"
applicationName = "windowstimer"
icon = "timerico.ico"
/>
<Styletype = "Text / CSS">
<! -
* {Font-Family: CourierNew, Arial, Sans-Serif; Font-Size: 9pt;}
corps {débordement-y: caché;}
Diva: Link, Diva: Visité {Text-Decoration: Aucun; Couleur: # 000}
Diva: Hover {Text-Decoration: sous la ligne de sous-traits; Couleur: # F00}
#footeRinfo {largeur: 100%; affichage: tableau; marge: 5px;}
#left {float: gauche; largeur: 70%;}
#Right {float: à droite; largeur: 29%; Text-Align: à droite; marge-droite: 1px;}
->
</ Style>
<criptLanguage = "JavaScript">
<! -
$ bl_sleep = false;
functiongetObject ($ obj) {
return (document.getElementById ($ obj));
}
String.prototype.parseint = fonction () {
return (parseInt (this));
}
functionGetRadioval ($ name) {
$ oems = document.getElementsByName ($ name);
pour ($ 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);
pour ($ a = 0; $ a <$ ooems.length; $ a ++) {