卡卡西论坛--CaCaSi.Net's Archiver

卡卡西购物网--CaCaSi.cc

cacasi 发表于 2007-2-28 15:09

百度知道搜索代码

<table width="388" border="0" cellspacing="0" cellpadding="0" class="hd"><tr>
<td width="146" valign="top"><a href="/"><img src="[url=http://img.baidu.com/img/logo-zhidao.gif]http://img.baidu.com/img/logo-zhidao.gif[/url]" border="0" alt="百度知道" width="137" height="46" vspace="3"></a></td>
<td>
<table  border="0" cellspacing="0" cellpadding="0"><tr><form action="[url=http://zhidao.baidu.com/q?ct]http://zhidao.baidu.com/q?ct[/url]=" target="_blank" name="ftop"  method="get"><td nowrap>
<input class=hdi maxlength=256 tabindex=1 size=22 name=word value=""></td></tr></table>
<div style="margin-top:4px"><input  type="submit" tabindex=2 value="搜索答案" class="bnsrh"><input type="hidden" name="ct" value="17"><input type="hidden" name="pn" value="0"><input type="hidden" name="tn" value="ikaslist"><input type="hidden" name="rn" value="10"><input  type="button"   tabindex=3 value="我要提问" class="bnsrh" style="margin-left:8px"></div>
</form>
<form name="fask" action="[url=http://zhidao.baidu.com/q?ct]http://zhidao.baidu.com/q?ct[/url]=" target="_blank" method="get"> <input type="hidden" name="ct" value="17"><input type="hidden" name="pn" value="0"><input type="hidden" name="tn" value="ikask"><input type="hidden" name="rn" value="10"><input type="hidden" name="word" value=""> <input type="hidden" name="cm" value="1"><input type="hidden" name="lm" value="394496"><input type="hidden" name="qf" value="2"></form>
</td></tr></table>
<script language="JavaScript">function ask(fn){document.fask.word.value=fn.word.value;fask.submit();}</script>

用以上代码可以实现以下效果:

cacasi 发表于 2007-3-24 09:15

回复一下就可以看见了哦。

页: [1]
卡卡西未名网--CaCaSi.com

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.