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/AVvXsEgDf4X7N8wRy9kFydxPAc1xReWUgl2pwDlIboMSWl59pWDQ-GyWbOIunVSONlK7vGlUPbtTkz0_tte8R9NLdvoNcNC64Wqgn_Q55cYo-U67O7tNWvyTGaBu-X6O7odcfZF7xXbGewWZtHym/)
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/AVvXsEh7nNxGqIvIgTeJ-fVs47X8U_r-xyorSzhT2m5AZlFpfkWjtnkIRG1chX7buiie_ZI4PSkTVmqDeMLe128eoBDjrYAfAUuY6FCGyQ_SStQiEj7xfdD8wCIwdTRBG68PXNwRfRQv0jmC7aVU/)
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/AVvXsEjud6dQlIxQ3xbSpbqkvyUIh19J1lR6JFmtqAaHs6UPxY7PuNr7XHhSeSIfy7FZAwk1EE8RIQVCCIvz2Ub2fa35WbTJQAJgtRCCPPTOeBAIRpMsHRGwduqvn-F6hpAKr0ha4EG1QjvSZpn2/)
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/AVvXsEhd0KLQSiEQpF4CB14eGNL6CDY4MelcvcXWyu-pJBUZZFXa8IVByX5GRVVoBfpmuGqP2xdXMBKf92JRAtzZNYEMng50u3o5OU2QmBsFAJAjerH776Utfu9kiavL_PcIUiwcRGq0U48qUah_/)
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/AVvXsEiSEIEt1fUPI7dIKTebNP44EBe5f857Fk9lBbxb71Uuhb7E_Ybw1_oTGu1NkIAUG4dTUx7XeJtEPyZPbxS__JJAvNvZEqYcTKuaMBsu_OfxJgiMHM-gwd0x9KHfB3zZn_exijDSm0UF9PUX/)
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/AVvXsEgIn9D6rPCFO64SDeVDvKMTX40AvpY6CH1h_qKPyqzeqXoSjyHbnYd5YXPdzgksWV4wm0P91W4tobjFYuOKjI0KDwOaXYeRfgICcacJyhPNPnyZDYDFDV-MBIBG1Lown52RoN3V9hejfyPg/)
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
Lebih Menarik Lagi: