Guardar como archivo HTA, solo
El código es el siguiente:
<html>
<Evista>
<title> Wubi Font Coding Query Tool </title>
<metahttp-equiv = "content-type" content = "text/html; charset = gb2312"/>
<HTA: aplicación
MaximizeButton = "no"
Icon = "http://www.w3cg.net/wubi/wb.ico"
Id = "wubiapp"
SingleInstance = "Sí"
ContextMenu = "Sí"
Sysmenu = "sí"
WindowState = "Normal"
Borde = "delgado"
MinimizeButton = "Sí"
ApplicationName = ""
Versión = "1.0"
InnerBorder = "no"
Subtítulos = "Sí"
ShowInTaskBar = "No"
/>
<styletype = "text/css">
<!-
cuerpo {fondo:#d4d0c8;}
*{Font-Family: Arial, Sans-Serif; Font-Size: 9PT; Color:#333;}
#main {ancho: 100%; altura: 100%;}
TextAREA {Line-Highight: 130%;}
a: enlace, a: visitado {Decoración de texto: ninguno;}
->
</style>
<scriptLanguage = "javaScript">
<!-
varurl = "http://www.w3cg.net/wubi/";
varbtv1 = "Puede seleccionar la función que desea cambiando el cuadro de lista desplegable";
varbtv2 = "Gracias por compartir, puede hacer clic aquí para enviar esta información de codificación de carácter chino";
varbtv3 = "Si está seguro de haber escrito un mensaje, haga clic aquí para enviarlo al autor";
varBTV4 = "Enviar datos al servidor, espere ...";
varxmlhttp;
intentar{
xmlhttp = newActivexObject ("Microsoft.xmlhttp");
}
Catch (e) {
alerta ("Lo siento, no puede crear objetos del sistema, verifique la configuración de su sistema");
xmlhttp = false;
}
functionTrim (str) {
str = str.replace (/^/s*/, "");
str = str.replace (// s*$/, "");
returnstr;
}
functionWindow.Onload () {
Varawidth, AHEight;
Varswidth, Sheight;
Awidth = 600;
AHEight = 300;
swidth = screen.width;
show = Screen.Height;
Window.resizeto (Awidth, AHEight);