Cara Memasang Search Engine di Blog

Pasti sudah tau kan apa itu search engine (mesin pencari). Contohnya seperti Google, Yahoo, dll
Nah saya akan beri tahu cara memasang search engine pada blog.

1.LogIn ke blog anda > Layout (tata letak) > Add a Gadget (tambah gadget)
2 Copy kode di bawah ini lalu tempatkan di kotak konten (pilih search yang kalian ingin gunakan)
Untuk Google

Google
 

<form action="http://www.google.com/search" method="get"><img border="0" alt="Google" src="http://www.google.com/logos/Logo_40wht.gif" align="absmiddle"/><br/><input maxlength="255" value="" name="q" size="31" type="text"/><input value="en" name="hl" type="hidden"/> <input value="Search" name="btnG" type="submit"/></form>

keterangan : ganti tulisan berwarna merah sesuai keinginan anda

Untuk Yahoo
<div id="ysrchForm width:170px;margin:0 auto;padding:20px;position:relative; ">
<form id="searchBoxForm_undefined" action="http://search.yahoo.com/search" style="padding:0;">
<input value="UTF-8" name="ei" type="hidden"/>
<input value="ystg" name="fr" type="hidden"/>
<div style="padding:0 80px 0 0;zoom:1;">

<input onfocus="this.style.background='#fff';" type="text" id="searchTerm"
onblur="if(this.value=='')this.style.background='#fff
url(http://us.i1.yimg.com/us.yimg.com/i/us/sch/gr2/lg_pwsch.gif) 3px center no-repeat'"
style="height:15px;border: solid 1px black; background:#fff
url(http://us.i1.yimg.com/us.yimg.com/i/us/sch/gr2/lg_pwsch.gif) 3px center no-repeat;
position:relative;" size="33" / name="p"/>

<input id="btn_undefined" style="position:absolute;padding-left:10px;"
src="http://bloggerplugins.googlepages.com/yahoo-search-widget-button.png"
value="Search" type="image"/></div><span padding:0; font:11px/11px helvetica, sans-serif;
list-style-type:none;="arial," margin:0; normal text-align:left;>

<li style="display:inline;padding-right:10px;">

<input id="web_radio" style="vertical-align:middle;margin-right:5px; "
value="" name="vs" type="radio"/>

<label for="web_radio" style="display:inline;vertical-align:middle; padding-top:2px; text-decoration:none;">Web</label></li>

<li style="display:inline;padding-right:10px;">

<input id="site_radio" checked="checked" style="vertical-align:middle;margin-right:5px; "
value="http://Blog anda.blogspot.com" name="vs" type="radio"/>

<label for="site_radio" style="display:inline;vertical-align:middle; padding-top:2px; text-decoration:none;">Blog anda</label></li>
</span></form></div>

0 komentar:

Posting Komentar

Adsens