📄 hint.js
字号:
function Hint(){
var xmlHttp;
try{
xmlHttp=new ActiveXObject('Msxml2.XMLHTTP');
}catch(e){
try{
xmlHttp=new ActiveXObject('Microsoft.XMLHTTP');
}catch(e){
try{
xmlHttp=new XMLHttpRequest();
}catch(e){}
}
}
xmlHttp.onreadystatechange=function(){
if(xmlHttp.readyState==4){
if(xmlHttp.status==200){
var co=xmlHttp.responseText;
if(co!=0){
window.open('News.asp?num='+co,'','height=218,width=122,left=880,top=450');
}else{
return false;
//alert('NO Record!!');
}
}else{
if(xmlHttp.status==404){
alert('File Not Exist!');
}
if(xmlHttp.status==500){
alert('Inner Server error!');
}
}
}
}
xmlHttp.open("post","RequestValue.asp", true);
xmlHttp.setRequestHeader('Content-type','application/x-www-form-urlencoded');
xmlHttp.send(null);
setTimeout('Hint()',300000);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -