常用的搜索代码整理精华
2008-01-18 14:15
381 查看
以下为引用的内容:<script> function search4() { if(form1.abc6.checked) window.open("http://www.google.com/search?hl=zh-CN&lr=lang_zh-CN&q="+form1.key.value,"mspg6"); if(form1.abc9.checked) window.open("http://www1.baidu.com/baidu?tn=site5566&word="+form1.key.value,"mspg9"); if(form1.abc0.checked) window.open("http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey="+form1.key.value,"mspg0"); 中国.站.长站 if(form1.abc4.checked) window.open("http://cns.3721.com/cns.dll?name="+form1.key.value,"mspg4"); if(form1.abc5.checked) window.open("http://search.yahoo.com/bin/search?p="+form1.key.value,"mspg5"); return false; } </script> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center"><form name="form1" onsubmit="return(search4())"> <p><input type="text" name="key" size="12"><input type="checkbox" name="abc6" value="google" checked>Google <input type="checkbox" name="abc9" value="baidu" checked>百度 <input type="checkbox" name="abc0" value="sina">新浪 Www_Chinaz_com <input type="checkbox" name="abc4" value="3721">3721 <input type="checkbox" name="abc5" value="yahooe">Yahoo <input type="submit" value="搜索" name="B1" style="{font-size:12px;background:#cccccc;}"> </p> </td></form> <td> </tr> <tr><td colspan="2" height="7"></td></tr> </table> |
中国.站长站
以下为引用的内容: <script> A=document.all function computer(n){if(n=="")return A.text_32.value=eval(n)} 中.国.站长站 function search4(){ a=A.q.value if(A.abc0.checked)window.open("http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey="+a,"mspg0") if(A.abc1.checked)window.open("http://site.search.sohu.com/sitesearch.jsp?page_index=0&key_word="+a,"mspg1") if(A.abc2.checked)window.open("http://cn.search.yahoo.com/search/cn?p="+a,"mspg2") if(A.abc3.checked)window.open("http://nisearch.163.com/Search?q="+a,"mspg3") if(A.abc4.checked)window.open("http://cns.3721.com/cns.dll?name="+a,"mspg4") if(A.abc5.checked)window.open("http://search.yahoo.com/bin/search?p="+a,"mspg5") if(A.abc6.checked)window.open("http://www.google.com/search?hl=zh-CN&lr=lang_zh-CN&q="+a,"mspg4") if(A.abc8.checked)top.location.href="http://www1.baidu.com/baidu?cl=3&word="+a return false} </script> 中国站长_站,为中文网站提供动力 <table border=1 height=32 bgcolor=#eeeeee><tr><td> <form onsubmit="return false">查找 <input name=q size=31 onkeydown="if(event.keyCode==13)search4()"> <button onclick=search4()>搜索</button> <button onclick="A.q.value='';A.q.select();document.execCommand('Paste');">粘贴</button> <input type="checkbox" name="abc8" checked>百度 <input type="checkbox" name="abc6">Google <input type="checkbox" name="abc0">新浪 <input type="checkbox" name="abc1">搜狐 <input type="checkbox" name="abc2">雅虎 <input type="checkbox" name="abc3">网易 <input type="checkbox" name="abc4">3721 <input type="checkbox" name="abc5">Yahoo </form> </td></tr></table> 中国.站.长站 |
Www_Chinaz_com
以下为引用的内容: <script> function search4() { if(form1.abc0.checked) window.open("http://search.sina.com.cn/cgi-bin/search/search.cgi?_searchkey="+form1.key.value,"mspg0"); if(form1.abc1.checked) window.open("http://site.search.sohu.com/sitesearch.jsp?page_index=0&key_word="+form1.key.value,"mspg1"); if(form1.abc2.checked) window.open("http://cn.search.yahoo.com/search/cn?p="+form1.key.value,"mspg2"); if(form1.abc3.checked) window.open("http://nisearch.163.com/Search?q="+form1.key.value,"mspg3"); Www@Chinaz@com if(form1.abc4.checked) window.open("http://www.google.com/search?hl=zh-CN&lr=lang_zh-CN&q="+form1.key.value,"mspg4"); if(form1.abc5.checked) window.open("http://search.yahoo.com/bin/search?p="+form1.key.value,"mspg5"); if(form1.abc6.checked) window.open("http://www1.baidu.com/baidu?tn=sitehao123&word="+form1.key.value,"mspg6"); if(form1.abc7.checked) window.open("http://mp3search.baidu.com/wstsearch?tn=baidump3&ct=134217728&lm=-1&rn=&word="+form1.key.value,"mspg7"); return false; } </script> <table border="1" cellspacing="0" width="350" height="64" bordercolor="#99DF95" bgcolor="#F0F7FF" cellpadding="0"> <tr> <td width="700" height="5"><p align="center"><font color="#008000">〖如果你所需的网站在本站网址中没有找到,请在下面综合搜索引擎中输入网站关键进行搜索〗</font></td> Www~Chinaz~com </tr> <tr> <td width="700" height="3"><p align="center">综合搜索<a href="search.htm" target="_self">引擎</a></td> </tr> <tr> <td width="700" height="50"><form name="form1" onsubmit="return(search4())"> <div align="center"><center><p>请输入关键字:<input type="text" name="key" size="12"> <input type="submit" style="COLOR:" rgb(0,0,0); FONT-SIZE: 9pt value="搜索" name="B1"> <BR> <input type="checkbox" name="abc0" value="sina"> 新浪 <input type="checkbox" name="abc1" 中.国.站.长.站 value="sohu">搜狐 <input type="checkbox" name="abc2" value="yahoo">雅虎 <input type="checkbox" name="abc3" value="yeah">网易 <input type="checkbox" name="abc4" value="3721" checked><BR>google <input type="checkbox" name="abc5" value="yahooe">Yahoo <input type="checkbox" name="abc6" value="google" checked>百度 <input type="checkbox" name="abc7" value="baidump3"><a href="mp3s.htm"><font color="#FF0000">mp3</font></a></p> </center></div> </form> </td> Chinaz@com </tr> </table> [中国站长站] |
相关文章推荐
- TCP--UDP常用代码(socket编程--网上搜索自己整理的)
- 常用简单代码搜索(不段整理中...)
- 17个新手常用代码整理---
- 【凯子哥带你夯实应用层】新手必备的常用代码片段整理(一)
- 新手必备的常用代码片段整理(一)
- 新手必备的常用代码片段整理(一)
- V9常用代码整理
- 整理收藏: ASP 三十二条精华代码
- 新手必备的常用代码片段整理(一)
- IOS开发-OC学习-常用功能代码片段整理
- 网页常用特效代码整理
- MongoDB-JAVA-Driver 3.2版本常用代码全整理(3) - 聚合
- 整理了一些asp初学者常用的代码 (4)
- JS中常用的小代码整理
- JS常用代码工具封装类整理
- 自己的技术经验和心得,及常用的资料和代码如何整理、分类和保存才好呢?
- 新手必备的常用 Android 代码片段整理
- 新手必备的常用代码片段整理(一)
- iOS开发常用代码片段整理
- 17个常用代码整理