[問題] 請教大家寫搜尋引擎的語法

看板Web_Design作者 (qikck)時間18年前 (2008/02/26 01:34), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
各位好,小弟想寫一個搜尋引擎在自己的網頁裡 但實在寫不太出來,所以想請大家幫忙一下 我爬了一下文有看到有大大分享他寫的一段語法 <FORM method=get action="http://www.google.com/search" target="_blank"> <TABLE width=550 bgcolor=#FFFFFF cellspacing=0 border=0> <tr valign=top><td> <div align="center"><A HREF="" rel="nofollow">http://www.google.com/intl/zh-TW/"></a></A> </div></td> <td nowrap> <p align="center"><INPUT TYPE=text name=q size=30 maxlength=255 value=""> <input type=hidden name=domains value="rexstudio.net"> <input type=hidden name=hl value="zh-TW"> <input type=hidden name=ie value="Big5"> <INPUT type=submit name=sa VALUE="搜尋"> <br> <input type=radio name=sitesearch value="rexstudio.net" checked> 站內搜尋 <input type=radio name=sitesearch value=""> Google! </td> </tr> 可是我把它貼在我的網頁裡,站內搜尋也沒動靜耶,但可以google..那是還要改哪裡嗎? 我本來是這樣寫的: <!--search box--> &nbsp; <input name="p" size="34" value=""> <input type="submit" value="搜尋" alt="搜尋"> <br> <input type="radio" name="vs" style="vertical-align: middle" value= "我的網頁的網址" checked> <span style="font-size:12px">站內搜尋</span> <input type="radio" name="vs" value="" style="vertical-align: middle"value= "" rel="nofollow">http://www.google.com/search"> <label style="margin-right:-25px;font-size:12px">Google!</label> </form> <!-- search box--> 可是我寫的那段(也是改別的網頁的)放到我的網頁後就一點作用也沒耶.... 可以麻煩知道的可以交我一下嗎...謝謝了! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.126.165.121
文章代碼(AID): #17mlma5G (Web_Design)
文章代碼(AID): #17mlma5G (Web_Design)