常用的搜索代码整理精华
以下为引用的内容:<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> 中.国.站长站
function search4(){ <table border=1 height=32 bgcolor=#eeeeee><tr><td> 中国.站.长站
|
中国站长_站,为中文网站提供动力
Www_Chinaz_com
以下为引用的内容: <script> 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> [中国站长站]
|
posted on 2008-01-18 14:15 网络安全、asp、asp.net编程 阅读(442) 评论(0) 编辑 收藏 举报