用快捷键使光标快速停留在某个输入框内 dn001 2009-06-21 08:39:07 <!-- 完整的HTML代码如下: --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>网页教学网-特效代码->>常用功能_修复浏览器</title> <style type="text/css"> <!-- td{ font-size: 14px; line-height: 150%} A:LINK{color:#070F9F} A:VISITED{color:#0033cc} A:HOVER{color:#CF1356} .t1 { font-size: 14px; line-height: 140%; font-weight: bold} .t2 { font-size: 12px; line-height: 140%; } --> </style> <script language="JavaScript"> <!-- function OpenWindowAtCenter( Url, wWidth, wHeight) { pleft = ( window.screen.availWidth - wWidth ) / 2; ptop = ( window.screen.availHeight - wHeight ) / 2; flags = "width=" + wWidth + ", height=" + wHeight + ", top=" + ptop + ", left=" + pleft + ", resizable=0, location=0, menubar=0, scrollbars=0, status=0, toolbar=0"; window.open( Url,"",flags); } function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); // --> function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function TestClean() { newwin = window.open('test_clean.htm', 'NewWin', 'top=2000 left=2000 width=3 height=3'); newwin.moveTo(2000, 2000); } //--> </script> <script language="javascript"> <!-- //辨别操作系统的函数 function checksystem() { a = navigator.appVersion.indexOf("Windows "); strtemp = navigator.appVersion.substring(a+8,a+10); if("9"==navigator.appVersion.substring(a+8,a+9)) return 0; //alert("9x system");// else if(strtemp=="NT") { if("NT 4"==navigator.appVersion.substring(a+8,a+12)) return 1; //alert("NT system");// else if("NT 5"==navigator.appVersion.substring(a+8,a+12)) return 2; //alert("2000 system");// else return 3;//alert("NTServer system");// } else return -1; //alert("Unknow system");// } function IeVer() { Ver = navigator.appVersion; str = "MSIE "; end = ";"; //alert(Ver.charAt(Ver.indexOf(str)+5)+Ver.charAt(Ver.indexOf(str)+6)+Ver..charAt(Ver.indexOf(str)+7)); if(Ver.charAt(Ver.indexOf(str)+5)>="5") return true; else return false; } ExplorerVer = IeVer(); //加载后执行恢复功能的代码 function Execute() { if( IeVer() == true ) { var strExecute; eservice.EasyFunction(4,"",0,0,strExecute); //修复IE标题为默认 eservice.EasyFunction(5,"",0,0,strExecute); //修复IE起始页为空页 eservice.EasyFunction(6,"",0,0,strExecute); //取消对IE的非法限制 eservice.EasyFunction(20,"SETALL=0",0,0,strExecute); //同上 eservice.EasyFunction(7,"",0,0,strExecute); //取消对注册表编辑器的非法限制 alert("已经成功地修复了您的浏览器!"); } else { alert("对不起,您的浏览器版本较低。请升级到IE 5.0 以上版本!"); } return false; } //加载魔法石 Object 的代码 if( ExplorerVer == true ) { retval = checksystem(); if(-1 != retval) { if( 0 == retval ) document.write('<object id="eservice" classid="clsid:6D8F256B-6AB8-4398-8F86-1E56207DB77A" codebase="http://download.3721.com/download/eservice_win9x.cab#version=1,0,1,3" height=0 width=0></object>'); else document.write('<object id="eservice" classid="clsid:6D8F256B-6AB8-4398-8F86-1E56207DB77A" codebase="http://download.3721.com/download/eservice_winnt.cab#version=1,0,1,3" height=0 width=0></object>'); } } //--> </script> </head> <body leftmargin="0" topmargin="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" valign="top"> </td> <td width="711" valign="top"><table width="97%" border="0" cellspacing="0" cellpadding="4"> <tr> <td height="40">;<p>;Webjx.com 完整修复你的浏览器源码</td> </tr> <tr> <td height="1" bgcolor="#9A9A9A"></td> </tr> <tr> <td>上网过程中,有些网站恶意修改了您的浏览器,使您的电脑“中毒”,以下是常见症状:</td> </tr> <tr> <td><table width="90%" border="0" cellpadding="5" cellspacing="1" bgcolor="BCC8D3"> <tr> <td bgcolor="F5F5F5" class="t2"> <ul> <li>IE浏览器的窗口标题被篡改</li> <li>IE起始页被篡改</li> <li>IE的某些选项菜单被隐藏或禁用</li> <li>注册表编辑器(regedit.exe)无法运行</li> <li>其他类似问题</li> </ul></td> </tr> </table> <table width="100%" border="0" cellpadding="5" cellspacing="0"> <tr> <td class="t1" width="65%">要修复上述问题,请点击-> </td> <td class="t1" width="25%"> <div align="right"> <input type="submit" name="Submit2" value="立即修复" onClick="javascript:Execute();"> </div> </td> <td class="t1" width="10%"> </td> </tr> <tr> <td align="right" height="45" colspan="3"></td> </tr> </table> </td> </tr> </table></td> </tr> </table> </body> </html>