參考網址:
自定欄位使用Google的站內搜尋Blog的文章:狗貓的家!Xuite名稱的由來&使用秘笈:Xuite日誌
http://blog.xuite.net/jeanson61/xuite/6619467
Google Logos(Google官方提供 logos)
http://www.google.com/stickers.html
Code(<>須換成半形<>):
<form method="get" name="google_search" action="http://www.google.com.tw/search" target="_blank">
<a href="http://www.google.com.tw/"><img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
<input type="hidden" name="sitesearch" value="http://pcgrek.blogspot.com/" />
<input alt="search" type="text" style="width:100px" name="as_q" size="20" />
<input style="width:80px;font-weight:bold; cursor:pointer;" type="submit" value="站內搜尋"/>
</form>
Hints:
<input type="hidden" name="sitesearch" value="http://pcgrek.blogspot.com/" />
改粗斜體的部分為欲搜尋的站台即可。
2007年10月4日 星期四
在網頁上新增Google站內搜尋
張貼者:
PcGrek
於
凌晨12:24
標籤: HTML, Programming Language
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言