📄 index.js
字号:
<SCRIPT language=JavaScript>
<!--
function sch(){e=document.sel.sq.selectedIndex;e=document.sel.sq[e].value;k=document.sel.k.value;
if(document.sel.k.value==""){alert("请输入关键词!");document.sel.k.focus();}
if(e=="gg"){window.open("http://www.google.com/search?hl=zh-CN&lr=lang_zh-CN&q="+k);}
if(e=="bd"){window.open("http://www1.baidu.com/baidu?cl=3&tn=baidu&word="+k);}
if(e=="sh"){window.open("http://site.search.sohu.com/website.jsp?key_word="+k+"&page_index=0")}
if(e=="yh"){window.open("http://nisearch.163.com/search.php?q="+k);}
if(e=="cyh"){window.open("http://search.chinese.yahoo.com/search/gb?p="+k);}
if(e=="ssk"){window.open("http://www.cseek.com/cgi/srchengine.cgi?searchcgi=http%3A%2F%2Fwww.cseek.com%2Fhomepage%2Fcgi%2F&all=yes&sortby=1&searchkey="+k);}
if(e=="tonghua"){window.open("http://search.tonghua.com.cn/search?p="+k);}
if(e=="eyh"){window.open("http://search.yahoo.com/bin/search?p="+k);}
if(e=="eex"){window.open("http://search.excite.com/search.gw?search="+k);}
if(e=="ein"){window.open("http://go.google.com/hws/search?client=disney-go&cof="+k);}
if(e=="met"){window.open("http://www.metacrawler.com/info.metac/search/web/"+k);}
if(e=="down"){window.open("http://download.com.com/3120-20-0.html?qt="+k);}
return false}
function dic1(page)
{
window.open(page,"news","width=400,height=450,scrollbars=no,toolbar=no,resizable=no");
return;
}
function dic2(page)
{
window.open(page,"news","width=515,height=580,scrollbars=yes,toolbar=no,resizable=no");
return;
}
function dic3(page) {
window.open(page,"news","width=555,height=500,scrollbars=yes,toolbar=no,resizable=no");
return;
}
//-->
</SCRIPT>
<SCRIPT LANGUAGE=javascript>
//用户登录
function login()
{
if (document.LoginForm.txtUserName.value.length < 1)
{
alert("请输入账号!");
document.LoginForm.txtUserName.focus();
return false;
}
if (document.LoginForm.txtPassword.value.length < 1)
{
alert("请输入密码");
document.LoginForm.txtPassword.focus();
return false;
}
document.LoginForm.submit();
return true;
}
//用户注册
function reg()
{
var url="reg/Reg.asp"
window.open(url);
}
//忘记密码
function forgetpassword()
{
var url = "/reg/Reg.asp"
window.open(url);
}
//购买点卡
function buycard()
{
var url = "reg/Reg.asp"
window.open(url);
}
//轮换图标
imglink = new Date();
var thisimg1 = "images/p_01.gif";
var thisimg2 = "images/p_02.gif";
var thisimg3 = "images/p_03.gif";
var thisimg4 = "images/p_04.gif";
var thisimg5 = "images/p_05.gif";
var thisimg6 = "images/p_06.gif";
if(imglink.getSeconds() <30)
{
var thisimg1 = "images/p2_01.jpg";
var thisimg2 = "images/p2_02.jpg";
var thisimg3 = "images/p2_03.jpg";
var thisimg4 = "images/p2_04.jpg";
var thisimg5 = "images/p2_05.jpg";
var thisimg6 = "images/p2_06.jpg";}
</SCRIPT>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -