首 页 ASP ASP.NET PHP JSP Ajax DIV+CSS JavaScript XML C#
MySQL MSSQL Access Oracle Linux Server 电脑技巧 网络安全 建站经验 其它

禁止网页页面刷新的特效代码

整理日期:2007年11月09日 【字体:

<html>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<head>
<script language="javascript">
var ie =navigator.appName=="Microsoft Internet Explorer"?true:false;

function keyDown(e)
{
 if(!ie)
 {
 var nkey=e.which;
 var iekey='现在是ns浏览器';
 var realkey=String.fromCharCode(e.which);
 }
 if(ie)
 {
 var iekey=event.keyCode;
 var nkey='现在是ie浏览器';
 var realkey=String.fromCharCode(event.keyCode);

伊图教程网[www.etoow.com]
http://www.etoow.com/html/2007-11/1194584348.html
 if(event.keyCode==32){realkey='\' 空格\''}
Tags:
禁止网页页面刷新的特效代码
'http://www.etoow.com/html/2007-11/1194584348.html
1
 
信息搜索
  
联系我们关于本站广告服务设为首页 收藏本站友情链接网站地图
Copyright © Etoow.com Inc. All Rights Reserved