HTA 파일로 저장하십시오
코드는 다음과 같습니다.
<html>
<헤드>
<title> wubi 글꼴 코딩 쿼리 도구 </title>
<metahttp-equiv = "content-type"content = "text/html; charset = gb2312"/>
<HTA : 응용 프로그램
maximizebutton = "no"
iCon = "http://www.w3cg.net/wubi/wb.ico"
id = "wubiapp"
SingleInstance = "예"
ContextMenu = "예"
sysmenu = "예"
Windowstate = "정상"
Border = "Thin"
MinimizeButton = "예"
ApplicationName = ""
버전 = "1.0"
Innerborder = "아니요"
캡션 = "예"
Showintaskbar = "아니요"
/>
<styletype = "text/css">
<!-
바디 {배경 :#d4d0c8;}
*{font-family : Arial, sans-serif; font-size : 9pt; color :#333;}}
#메인 {너비 : 100%; 높이 : 100%;}
Textarea {Line-Height : 130%;}
A : Link, A : 방문 {Text-Decoration : None;}
->
</스타일>
<scriptLanguage = "JavaScript">
<!-
varurl = "http://www.w3cg.net/wubi/";
VARBTV1 = "드롭 다운 목록 상자를 변경하여 원하는 기능을 선택할 수 있습니다";
VARBTV2 = "공유해 주셔서 감사합니다. 여기를 클릭하여 중국어 인코 인코딩 정보를 제출할 수 있습니다";
varbtv3 = "메시지를 작성했다고 확신하면 여기를 클릭하여 저자에게 제출하십시오.";
varbtv4 = "서버에 데이터 제출, 기다려주세요 ....";
varxmlhttp;
노력하다{
xmlhttp = newActiveXobject ( "microsoft.xmlhttp");
}
캐치 (e) {
ALERT ( "죄송합니다. 시스템 객체를 만들 수 없습니다. 시스템 설정을 확인하십시오.");
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);