a Javascript·Î Ç¥ÇöÇϹǷΠ¾à°£ ½Ã°£ÀÌ °É¸± ¼ö ÀÖ½¿.
°á°ú Ç¥½Ãâ
<HTML>
<HEAD>
<STYLE type="text/css">.ding{font-family:wingdings; color:blue; font-weight:bold; font-size:1.3em;}</STYLE>
<SCRIPT>
strEng='abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ';
strKor=' °¡³ª´Ù¶ó¸¶¹Ù»ç¾ÆÀÚÂ÷īŸÆÄÇÏ 1234567890';
var anchorStr;
function showFonts(){
str='<TABLE border=0 bgcolor=ffffee width=100% style=font-size:10pt align=center>';
for (i=1;i<= dlgHelper.fonts.count;i++){
OneFont=dlgHelper.fonts(i);
if (i==1) str+='<TR>';
else if ((i-1)%5){}
else str+='</TR><TR>';
trimSpace(OneFont);
str+='<TD width=20%><A href=#'+anchorStr+'>'+OneFont+'</A></TD>';
}
str+='</TR></TABLE>';
str+='<TABLE width=100% border=1 bgcolor=ddffdd style=font-size:12pt>';
str+='<COL style=color:teal;width:5%><COL style=color:navy;width:95%>';
str+='<TR><TD colspan=2>dlgHelper.fonts.count=<SPAN style=width:2em></SPAN>';
str+='<FONT color=blue><B><FONT face="wingdings" size=+2>A </FONT>'+dlgHelper.fonts.count+'</B></FONT>';
str+=' (»ç¿ëÇÒ ¼ö ÀÖ´Â ÃÑ ±Û²Ã ¼ö: PC ¼³Ä¡¿¡ µû¶ó ´Ù¸§)</TD></TR>';
for (i=1;i<= dlgHelper.fonts.count;i++){
OneFont=dlgHelper.fonts(i);
trimSpace(OneFont);
str+='<TR><TD colspan=2><A name="'+anchorStr+'"></A><FONT size=-1 color=gray>['+i+']</FONT> ';
str+='<FONT face="<FONT color=blue><B>'+OneFont+'</B></FONT>"></TD></TR>';
str+='<TR><TD> </TD>';
str+='<TD style=background:eff><FONT face="'+OneFont+'">'+strEng+'<BR>'+strKor+'</FONT></TD></TR>';
}
str+='</TABLE>';
showA.innerHTML=str;
showPre.innerText='';
}
function trimSpace(fontName){
anchorStr='';
for (j=0;j< fontName.length;j++){
if (fontName.substr(j,1)!=' ') anchorStr+=fontName.substr(j,1);
}
return anchorStr;
}
</SCRIPT>
</HEAD>
<BODY onload=showFonts()>
<OBJECT id=dlgHelper classid="clsid:3050f819-98b5-11cf-bb82-00aa00bdce0b" width="0px" height="0px"></OBJECT>
<DIV class=box id=showPre align=left><SPAN class=ding>a </SPAN>Javascript·Î Ç¥ÇöÇϹǷΠ¾à°£ ½Ã°£ÀÌ °É¸± ¼ö ÀÖ½¿.</DIV>
<SPAN class=blue id=showA>°á°ú Ç¥½Ãâ</SPAN>
</BODY>
</HTML>