Berikut ini saya hadirkan screenshot dari widget-widget kotak pencarian keren tersebut beserta kodenya masing-masing. Cara pemasangannya adalah login ke Blogger > Opsi lainnya > Tata Letak > Tambah Gadget > HTML/JavaScript > Copy kode widget dan paste di Konten > Simpan > Klik dan seret gadget ke tempat yang Sobat inginkan > Simpan setelan.
Kotak Search 1 |
<style type="text/css"> #a-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_jEAr-TAdQfhKRJEQgyKslqARtlaX8hTig5T8a_h4Qga30uyRFa4_qr6K9Nt1NNd8r5eBAX37PzTjwKqyPJ9b4Xc7GTa0gLqSrqyGEZnmTcsEearfJ4Y0MUuN1V4r6vUxBAdrvUQICHJB/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;} form#a-searchform{display: block;padding: 10px 12px;margin:0;} form#a-searchform #a{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;} form#a-searchform #abutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;} </style> <div id="a-searchbox"><form id="a-searchform" action="/search" method="get"> <input type="text" id="a" 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="abutton" /> </form></div>
Kotak Search 2 |
<style type="text/css"> #b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaTSgbP3NpaXTzqb67dXkL7sIOJig1BlpNMzkD_pX0GdBUfG7B_V_zOW4XZj8175QlNN6WmyxHkpKm2f29jp6IGx9-fFwL5aGzaiIZ6a9Vc524VF-hlE62U-RPrqi4xtWie6b8Yb7JgYtF/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;} form#b-searchform{display: block;padding: 10px 12px;margin:0;} form#b-searchform #b{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;} form#b-searchform #bbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;} </style> <div id="b-searchbox"><form id="b-searchform" action="/search" method="get"> <input type="text" id="b" 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="bbutton" /></form></div>
Kotak Search 3 |
<style type="text/css"> #c-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgm9DvnnnUReXUgfhUXYYGmhdt2quy35kBLnCm2SxJI5_dJtAhC8bHIMiHznkCIV34M8NolnCEFZ9SLFKal52-8E2YK-JBsvXkILslc8pRRY6OgaBzzs5r4GsVOUCOUk_rrZ9OPFLdLHbJQ/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;} form#c-searchform{display: block;padding: 10px 12px;margin:0;} form#c-searchform #c{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;} form#c-searchform #cbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;} </style><div id="c-searchbox"><form id="c-searchform" action="/search" method="get"> <input type="text" id="c" 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="cbutton" /></form></div>
Kotak Search 4 |
<style type="text/css"> #d-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU2ApXuu6KSBqcnBUArggPmnyia3mN5fahkXROPl5LpBxozWSq51RIJsZvMxrYvD2DxzTO1xqmammGSd-cY8TXS7mjli-Roe4tAGIrtkBsfRZTWkYkWCCXDH8cgOxbHKx6O6gXpMyzxUU3/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;} form#d-searchform{display: block;padding: 12px;margin:0;} form#d-searchform #d{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;} form#d-searchform #dbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;} </style> <div id="d-searchbox"><form id="d-searchform" action="/search" method="get"> <input type="text" id="d" name="q" value=""/> <input type="image" src="http://img1.blogblog.com/img/blank.gif" id="dbutton" /> </form></div>
Kotak Search 5 |
<style type="text/css"> #e-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMXW9k8gdy720O4cO-rVUcDU_kZQxrmHDOiau2YG6SZ2d2htjcYTpcIXNdsSn7RdE_mUD3ug3LNDO1Wg-UpuCu_Sa27VE88j-LTOLp-927J3x6CCiaUDul35FRzGnt2otcW1Wxw5gjSCA5/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;} form#e-searchform{display: block;padding: 12px;margin:0;} form#e-searchform #e{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;} form#e-searchform #ebutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;} </style> <div id="e-searchbox"><form id="e-searchform" action="/search" method="get"> <input type="text" id="e" name="q" value=""/> <input type="image" src="http://img1.blogblog.com/img/blank.gif" id="ebutton" /></form></div>
Kotak Search 6 |
<style type="text/css"> #f-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiih736cTHc-1J7P0szV9uDiMENtb8PFv3OEx7Zm8913Af1d-G_5n35xoGqDMPA1bldhP7pnt2YtZ7x_-ys7pr__jj5KXIyv2zKc6vtHq-F6A3RvD4eTz7YhvxafzAX5wbfZaviT-R2k69/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;} form#f-searchform{display: block;padding: 12px;margin:0;} form#f-searchform #f{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;} form#f-searchform #fbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;} </style> <div id="f-searchbox"><form id="f-searchform" action="/search" method="get"> <input type="text" id="f" name="q" value=""/> <input type="image" src="http://img1.blogblog.com/img/blank.gif" id="fbutton" /> </form></div>
Silakan pilih-pilih, dari keenam widget kotak seacrh di atas yang mana yang Sobat suka. Selamat mencoba memasangnya di blog Sobat..