<! -- Start searching on the Google site -->
<Form method = get action = "http://www.google.com/search">
<Input type = text name = q>
<Input type = submit name = btng value = "Google Search">
<Input type = hidden name = ie value = gb2312>
<Input type = hidden name = OE value = gb2312>
<Input type = hidden name = HL value = ZH-CN>
<Input type = hidden name = domains value = "http://www.williamlong.info/">
<Input type = hidden name = sitesearch value = "http://www.williamlong.info/">
</Form>
<! -- Google site search ends -->
<! -- Baidu Site Search Start -->
<Form action = "http://www.baidu.com/baidu">
<Input type = text name = word>
<Input type = "Submit" value = "Baidu search">
<Input name = tn type = hidden value = "BDS">
<Input name = Cl type = hidden value = "3">
<Input name = CT type = hidden value = "2097152">
<Input name = SI type = hidden value = "http://www.williamlong.info/">
</Form>
<! -- Baidu intra-site search ends -->
<! -- Start searching on the Yahoo site -->
<Form action = "http://www.yahoo.com.cn/search">
<Input type = text name = "p">
<Input type = "Submit" value = "Yahoo Search">
<Input type = hidden name = vs value = "http://www.williamlong.info/">
</Form>
<! -- Yahoo website search ended -->
The following is a site search for Google and Baidu's JavaScript version.Code:
<! -- Start searching on the Google site -->
<SCRIPT type = "text/JavaScript">
Function googlesearch (){
VaR WQ = Document. getelementsbyname ("WQ") [0]. value;
Varlink = "http://www.google.com/search? Domains = www.william long.info & sitesearch = www.william long.info & Q = "+ WQ;
Window. Open (Link );}
</SCRIPT>
<Input type = "text" name = "WQ"/> <input type = "Submit" onclick = "javascript: googlesearch ()" value = "Google Search"/>
<! -- Google site search ends -->