📄 search_en.htm
字号:
}
//======================
function getIndex(el) {
ind = null;
for (i=0; i<document.layers.length; i++) {
whichEl = document.layers[i];
if (whichEl.id == el) {
ind = i;
break;
}
}
return ind;
}
function arrange() {
nextY = document.layers[firstInd].pageY +document.layers[firstInd].document.height;
for (i=firstInd+1; i<document.layers.length; i++) {
whichEl = document.layers[i];
if (whichEl.visibility != "hide") {
whichEl.pageY = nextY;
nextY += whichEl.document.height;
}
}
}
function initIt(){
if (!ver4) return;
if (NS4) {
for (i=0; i<document.layers.length; i++) {
whichEl = document.layers[i];
if (whichEl.id.indexOf("Child") != -1) whichEl.visibility = "hide";
}
arrange();
}
else {
divColl = document.all.tags("DIV");
for (i=0; i<divColl.length; i++) {
whichEl = divColl(i);
if (whichEl.className == "child") whichEl.style.display = "none";
}
}
}
function expandIt(el) {
if (!ver4) return;
if (IE4) {
whichEl = eval(el + "Child");
if (whichEl.style.display != "block") {
whichEl.style.display = "block";
}
else {
whichEl.style.display = "none";
}
}
else {
whichEl = eval("document." + el + "Child");
if (whichEl.visibility == "hide") {
whichEl.visibility = "show";
}
else {
whichEl.visibility = "hide";
}
arrange();
}
}
function moues_txt(txt)
{
window.status=txt;
}
var sellist = new Array();
function checkall()
{
for(i=0; i<sellist.length; i++)
if(sellist[i])
eval('document.searchtable.selall'+i+'.checked=true');
}
//-->
</script>
<script>
function unblur() {this.blur();}
function blurLinks() {
if (!document.getElementById) return;
lnks3454 = document.getElementsByTagName("a");
for(i=0; i<lnks3454.length; i++) {
lnks3454[i].onfocus = unblur;
}
}
</script>
</head>
<body style="" onLoad="checkall();blurLinks()" onResize="setSize()" onKeyDown="searchtable.keyword.focus()" onUnload="savesearch()">
<p class="refr">
<table style="height:100%;" cellSpacing="0"><col width="100%">
<tr>
<td style="text-align:center;">
<button class="bt" style="width:60%;" onclick="history.go();this.blur()" hidefocus>Refresh</button>
</td>
</tr>
</table>
</p>
<p style="text-align:center;">
<form name="searchtable" onSubmit="Search(); return false;">
<div class="topt">
<table style="height:100%; text-align:center;" cellSpacing="0"><col width="100%">
<tr>
<td>
<input type="text" name="keyword" id="keyword" class="k">
</td>
</tr>
<tr>
<td>
<nobr><input type="submit" value="Search" class="bt" style="width:45%;" hidefocus> <input type="button" value="Clear" onClick="searchtable.keyword.value='';searchtable.keyword.focus()" class="bt" style="width:44%;" hidefocus></nobr>
</td>
</tr>
</table>
</div>
<span class="cat" id="main">
<table cellSpacing="0" cols="2">
<tr>
<script>
with (document)
{var tb=0, total=0, selected=0, cates=0, selalllist='';
for (var i=0; i<se.length; i++)
{if (se[i].url == ''&& se[i].name!='')
{if (tb > 0)
write('</tr>');
write('</table></div><table cellSpacing="0" cols="2"><col width="78%"><col width="22%"><tr onselectstart="return false" style="white-space:nowrap;"><td class="scat" title=\"Open/Close this category\" onClick="expandIt(\'category'+cates+'\')" onDblClick="expandIt(\'category'+cates+'\')">' + se[i].name + '</td><td class="scat" style="cursor:default;" title=\"Select/Deselect all\"><input type="checkbox" style="width:85%;" name="selall'+cates+'" hidefocus onClick="onselall('+i+', document.searchtable.selall'+cates+'.checked' +')"></td></tr></table>');
write('<div align=left id="category'+cates+'Child" class="child"><table cellSpacing="0">')
if(selected > 0 && total!=selected)
expandIt('category'+(cates-1));
if(total == selected && cates>0)
{
sellist[cates-1]=1;
}
else
sellist[cates-1]=0;
tb = 0;
total = 0;
selected = 0;
cates++;
}
else if (se[i].name!='')
{
tb++;
if (tb==1)
write('<tr>\n');
write('<td class="slinks"><input type="checkbox" style="width:13px; margin-left:1px; margin-right:3px;"' + (se[i].checked?' checked':'') + ' name="w' + i + '" hidefocus onClick="se[' + i + '].checked = document.searchtable.w'+i+'.checked">' +
'<a href="' + se[i].url + '" title="' + se[i].name + '" target="w' + i + '">' + se[i].name + '</a></td>');
write('</tr>\n');
tb = 0;
if(se[i].checked)
selected++
total++;
}
}
}
if(selected > 0)
expandIt('category'+(cates-1));
if(total == selected && cates>0)
sellist[cates-1]=1;
else
sellist[cates-1]=0;
if (top.NS)
{document.searchbox.reset();
document.searchtable.reset();
}
/*selalllist = selalllist.split(';');
for(i=0; i<selalllist.length-1; i++)
eval('document.searchtable.selall'+selalllist[i]+'.checked=true');*/
</script>
</table>
</span>
</form>
</p>
<form name="searchbox" method=post >
<input type="hidden" name="maxhits" value="25">
<input type="hidden" name="format" value="terse">
<input type="hidden" name="threaded" value="0">
<input type="hidden" name="showsort" value="score">
<input type="hidden" name="agesign" value="1">
<input type="hidden" name="ageweight" value="1">
<input type="hidden" name="head" value="noframes">
<input type="hidden" name="tail" value="noframes">
<input type="hidden" name="mode" value="phrase">
<input type="hidden" name="bool" value="allterms">
<input type="hidden" name="websearch" value="checked">
<input type="hidden" name="area" value="webtext">
<input type="hidden" name="defaultop" value="and">
<input type="hidden" name="svcclass" value="dncurrent">
<input type="hidden" name="searnum" value="0">
<input type="hidden" name="searadd" value="searchgo">
<input type="hidden" name="keywordc">
<input type="hidden" name="keywords">
<input type="hidden" name="query">
<input type="hidden" name="terms">
<input type="hidden" name="SearchFor">
<input type="hidden" name="search">
</form>
<script>
// written by Tara
function setSize() {
var wh=document.body.offsetHeight;
main.style.pixelHeight=wh-75;
}
setSize();
</script>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -