请问怎么实现类似搜狗网址导航里面的 “百度\google的搜索框”?非常感谢

解决方案 »

  1.   

    直接FORM的ACTION链接到百度的网站就行了。
      

  2.   

    除了用form还有其他方式的么?http://123.ie.sogou.com/ 应该不是用form那么简单吧
      

  3.   

    一般是用 form 的 action
      

  4.   

    <form name="gform" method="get" action="http://www.google.cn/search" target="_top">
    <div align="center">
    <table border="0" bgcolor="#ffffff" width="532">
    <tr>
    <td nowrap="nowrap" valign="top" align="left" height="32">
    <a href="http://www.google.hk/cnbhp?client=aff-sowang&hl=zh-CN&channel=searchlink">
    <img src="http://www.google.cn/logos/Logo_25wht.gif" border="0" alt="Google 中文" align="right" width="75" height="32"> </a>
    </td>
    <td nowrap="nowrap">
    <input type="text" name="q" size="32" maxlength="255" value="" style="font-size: 10pt"></input>
    <input type="submit" name="sa" value="Google 搜索" style="font-size: 10pt"></input>
    </td>
    </tr>
    <tr>
    <td> </td>
    <td nowrap="nowrap">
    <table><tr>
    <td colspan=3 align=center><font size=-1>
    <input id=all type=radio name=lr value="" checked/>
    <label for=all>搜索所有网页</label>
    <input id=ch type=radio name=lr value=lang_zh-CN|lang_zh-TW/>
    <label for=ch>中文网页</label>
    <input id=il type=radio name=lr value=lang_zh-CN/>
    <label for=il>简体中文网页</label></font>
    </td>
    </tr>
    </table>
    <input type="hidden" name="client" value="aff-sowang"></input>
    <input type="hidden" name="ie" value="UTF-8"></input>
    <input type="hidden" name="oe" value="UTF-8"></input>
    <input type="hidden" name="hl" value="zh-CN"></input>
    <input type="hidden" name="channel" value="search"></input>
    </td>
    </tr>
    <tr>
    <td colspan=3 align=left> </td>
    </tr>
    </table>
    </div>
    </form>
    你google上搜下,一大堆啊
      

  5.   

    action="http://www.google.hk/search
    上面那个action改成 香港的,现在google.cn没有了 
      

  6.   

    radio 怎么切换  我也在做这东西