在网页中加入热键
<SCRIPT language="JavaScript">
<!--
var hotkey=98
var destination="http://www.lanyug.net";
if (document.layers)
document.captureEvents(Event.KEYPRESS)
function Helpor_net(e){
if (document.layers){
if (e.which==hotkey)
window.location=destination;
}
else if (document.all){
if (event.keyCode==hotkey)
window.location=destination;
}
}
document.onkeypress=Helpor_net;
//-->
</SCRIPT>
效果:按一下“B”键

版权所有,未经许可禁止转载、摘编、复制或建立镜像.如有违反,追究法律责任。
关于我们 | 管理团队 | 公益项目 | 联系我们 
版权所有 2007年 蓝宇互联科技网 保留所有权利