百度网盘搜索

用下面代码做成html文件或是这直接打开这个网址

http://www.baidu.com/baidu?word=0&tn=bds&cl=3&ct=2097152&si=pan.baidu.com&s=on

用百度dwz缩短后

http://dwz.cn/yunbaidu

代码:

<SCRIPT language=javascript>
function g(formname)    {
var url = "http://www.baidu.com/baidu";
if (formname.s[1].checked) {
    formname.ct.value = "2097152";
}
else {
    formname.ct.value = "0";
}
formname.action = url;
return true;
}
</SCRIPT>
<form name="f1" onsubmit="return g(this)">
<table bgcolor="#FFFFFF" style="font-size:9pt;">
<tr height="60"><td valign="top"><img src="http://img.baidu.com/img/logo-137px.gif" border="0" alt="baidu"></td>
<td>
<input name=word size="30" maxlength="100">
<input type="submit" value="百度搜索"><br>
<input name=tn type=hidden value="bds">
<input name=cl type=hidden value="3">
<input name=ct type=hidden>
<input name=si type=hidden value="pan.baidu.com">
<input name=s type=radio> 互联网
<input name=s type=radio checked> pan.baidu.com
</td></tr></table>
</form>

  

posted @ 2014-02-24 19:54  landv  阅读(1388)  评论(0编辑  收藏  举报