?? dev2dev_searchform.js
字號:
function outputsearchform(){
document.write("<div class='searchbox'><form name='gs' method='get' target='_blank' action='http://seeker.bea.com/search' class='formspace' onsubmit='return dochecksearchinput(this);'>");
document.write("<input type='text' name='q' value ='Search' class='search' onClick=\"this.value='';\" />");
document.write("<input type='image' src='http://dev2dev.bea.com.cn/images/Searchgo.gif' alt='Search' border='0' width=17 height=18 style='vertical-align:middle;margin-bottom:5px;margin-left:2px;' />");
document.write("<input type='hidden' name='ie' value='gb2312' />");
document.write("<input type='hidden' name='site' value='cn' />");
document.write("<input type='hidden' name='output' value='xml_no_dtd' />");
document.write("<input type='hidden' name='client' value='dev2dev_cn' />");
document.write("<input type='hidden' name='lr' value='lang_zh-CH' />");
document.write("<input type='hidden' name='proxystylesheet' value='dev2dev_cn' />");
document.write("<input type='hidden' name='oe' value='gb2312' />");
document.write("<input type='hidden' name='restrict' value='' />");
document.write("<input type='hidden' name='filter' value='p' />");
document.write("<input type='hidden' name='numgm' value='5' />");
document.write("<input type='hidden' name='num' value='10' />");
document.write("<input type='hidden' name='source' value='dev2dev_cn' />");
document.write("</form></div>");
}
function outputdev2devheader()
{
document.write("<div id='headergraphic'>");
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>");
document.write("<td width='775'><a href='http://dev2dev.bea.com.cn'><img src='/images/topmain.jpg' alt='' width='775' height='85' border='0' /></a></td>");
document.write("<td class='toptd'><img src='/images/_.gif' width='1' height='1' alt='' /></td></tr>");
document.write("</table></div>");
document.write("<div class='blueline'><img src='/images/_.gif' width='1' height='1' alt='' /></div>");
document.write("<div id='graybar'><div class='topnav'>");
document.write("<a href='/'>首頁</a> ");
document.write("<a href='/resource/index.html'>資源中心</a> ");
document.write("<a href='/bbs/school/index.html'>dev2dev學(xué)堂</a> ");
document.write("<a href='/bbs/index.jsp'>在線技術(shù)論壇</a> ");
document.write("<a href='/usergroup/index.html'>User Group</a> ");
document.write("<a href='https://www.projects.dev2dev.bea.com/' target='_blank'>CodeShare</a>");
document.write("</div></div>");
document.write("<div id='dotdouble001'><img src='/images/_.gif' width='1' height='3' alt='' /></div>");
}
function dochecksearchinput(thisform){
if(thisform.q.value==""){
alert("請輸入搜索關(guān)鍵字!");
thisform.q.focus();
return false;
}
return true;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -