<%
...
@LANGUAGE="VBSCRIPT" CODEPAGE="936"
%>
<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
< html xmlns ="http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv ="Content-Type" content ="text/html; charset=gb2312" />
< title > 无标题文档 </ title >
< script type ="text/javascript" language ="javascript" > ...
<!--
function SetFont(size)
...{
document.getElementById("logPanel").style.fontSize=size
}
-->
</ script >
</ head >
< body >
< strong > 字体: </ strong >
< a accessKey =1 href ="javascript:SetFont('12px');" > 小 </ a >
< a accessKey =2 href ="javascript:SetFont('14px');" > 中 </ a >
< a accessKey =3 href ="javascript:SetFont('16px');" > 大 </ a >
< a href ="javascript:window.opener.href=null;window.close();" > 关闭此页 </ a >
< a href ="javascript:window.print();" > 打印此页 </ a >
< div id ="logPanel" > 拉斯基地方卡拉斯地方军 </ div >
</ body >
</ html >
<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
< html xmlns ="http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv ="Content-Type" content ="text/html; charset=gb2312" />
< title > 无标题文档 </ title >
< script type ="text/javascript" language ="javascript" > ...
<!--
function SetFont(size)
...{
document.getElementById("logPanel").style.fontSize=size
}
-->
</ script >
</ head >
< body >
< strong > 字体: </ strong >
< a accessKey =1 href ="javascript:SetFont('12px');" > 小 </ a >
< a accessKey =2 href ="javascript:SetFont('14px');" > 中 </ a >
< a accessKey =3 href ="javascript:SetFont('16px');" > 大 </ a >
< a href ="javascript:window.opener.href=null;window.close();" > 关闭此页 </ a >
< a href ="javascript:window.print();" > 打印此页 </ a >
< div id ="logPanel" > 拉斯基地方卡拉斯地方军 </ div >
</ body >
</ html >
其中<a accessKey=1 href="javascript:SetFont('12px');"> 小</a> 的 accessKey=1 设置快捷键 用CTRL+1