Setelah lama gak ngepost di blog, akhirnya saya ngepost juga . Oke langsung aja crot . Kali ini gw akan Share gimana cara ngasih Kotak Pencarian (Search Box) pada blog yg kalian sayangi . Caranya ada dibawah inii !!
- log in ke akun blogger kalian
- klik rancangan -- add gadget --pilih HTML / Java Script
- lalu masukkan atau pastekan kode dibawah ini (silahkan dipilih sesuai dengan minta sobat yaqindlive)
kode dibawah |
<style type="text/css">#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYqd-cgZYUS_T0P715xhixL3xWlKSfPQkCDaDkuSAZdfk3k16Z9ijkM8y2FQr2fPs0q_zfvq99rzkWrdIgAs5d78-Gd4jW-x9iTyGaifIx6bIXxYBcvH373hghYMYV-xq4ifN0KOlVmnlw/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}form#w2b-searchform{display: block;padding: 10px 12px;margin:0;}form#w2b-searchform #s{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;}form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}</style><div id="w2b-searchbox"><form id="w2b-searchform" action="/search" method="get"><input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search...";}'/><input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" /></form></div>
Kode Dibawah |
<style type="text/css">#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh02t-XNo5dW2DyDFPbB3AWepiKwLd5S9hNWbv2B1AChfNBius0tQ0JorJ-_InQYqeMDopTecQ3r4af1-Jjbl3Bim4n-9m_Do1iGDazuOoicHSXV3IM6Yihhmxi9FB-LVdluNykyrJgdgw/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}form#w2b-searchform{display: block;padding: 10px 12px;margin:0;}form#w2b-searchform #s{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;}form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}</style><div id="w2b-searchbox"><form id="w2b-searchform" action="/search" method="get"><input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search...";}'/><input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" /></form></div>
kode dibawah |
<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv6_IgMpaVYsb1-_xK1UhHkbcGRk_LC7cdJ0W-A_-bBj08lsQ5Tl19OgAbGpFjXYZgyvBgQxaZCCDfDasE2t8jl11U1d9JTUCse6me0Jd6p12vhABKLKNysYrCWllfViKK9eca6eUsse7R/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 10px 12px;margin:0;}
form#w2b-searchform #s{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<div id="w2b-searchbox">
<form id="w2b-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}' onblur='if (this.value == "") {this.value = "Search...";}'/>
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
</form>
</div>
kode dibawah |
<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8HmgkgjQTnYzLIbp5bJMk_AiadEUDn3ic7KJ1ZYr6QP2fHYK4zYNKoSV-41e_BomNq-bdzd1I7inUSiWLJZlmyRzFiu8oy4hxx-dCLsxcWuEWwcE72YLCIKXphYnFfkqdT4B55zl2HqV4/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 12px;margin:0;}
form#w2b-searchform #s{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<div id="w2b-searchbox">
<form id="w2b-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value=""/>
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
</form>
</div>
kode dibawah |
<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiABjhJWyFvSgZNfAmHY2I2sIxCdXyYdoBtSdvKophxyGL6eIQqlLIBXSIP2SoxED7mTHSqhPswo92lop0kZxVGk0xgzTsfhsLosaoTAl3gHs-EgXzWKrBZ4iHwX4FDywbDbHojAfS9skyU/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 12px;margin:0;}
form#w2b-searchform #s{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<div id="w2b-searchbox">
<form id="w2b-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value=""/>
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
</form>
</div>
Jika anda kesulitan dalam memasangnya harap tinggalkan komentar . hehe
selamat mencoba . Sekian dan Terima GAJI XD
Sumber : Blog Otowebsite
..: Semoga Bermanfaat :..
0 komentar:
Posting Komentar