-->
logo blog

Kumpulan Widget Search Box untuk Blog [LENGKAP]

Kumpulan Widget Search Box untuk Blog [LENGKAP]

kumpulan widget search box lengkap
Sahabat Ngonline06, keberadaan widget search pada sebuah blog atau website sangatlah urgen. Hal itu agar memudahka pengunjung untuk mencari hal yang memang ingin didapatkannya dari blog atau website kita. Oleh karena itu, pada kesempatan ini, Ngonline06 akan berbagi tips membuat widget search box dari yang simpel hingga yang keren. 

CARA MEMASANG WIDGET SEARCH BOX


Cara memasangnya pun sangat simpel. Sahabat cukup membuka dashbord blog sahabat > layout (tata letak) > add gadget (tambah gadget) > HTML/Java Script. Tulis kode-kode di bawah ini pada java script tersebut.

ANEKA WIDGET SEARCH BOX


Widget Search Box Simpel


Tips ini adalah milik maskolis.com. Kesederhanaan widget search ini sangat kelihatan. Kode widget search tersebut adalah sebagai berikut:

<p align="left">
<form id="searchthis" action="ALAMAT URL BLOG/search" style="display:inline;" method="get">
<strong>NAMA KOTAK<br/></strong>
<input id="b-query" maxlength="255" name="q" size="20" type="text"/>
<input id="b-searchbtn" value="Search" type="submit"/>
</form></p>
Keterangan: Atur huruf yang berwarna merah sesuai dengan alamat blog sahabat dan kata yang hendak dituliskan.

Widget Search Box Keren


Untuk widget search box keren ini, sahabat Ngonline06 punya 5 pilihan. Tips ini adalah milik helplogger.blogspot.co.id. Silahkan sahabat pilih sendiri bentuk widget search boxnya.

<style>
#searchbox {
    background: #d8d8d8;
    border: 4px solid #e8e8e8;
    padding: 20px 10px;
    width: 250px;
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}

input:focus:-moz-placeholder {
    color: transparent;
}

input:focus::-moz-placeholder {
    color: transparent;
}

#searchbox input {
    outline: none;
}

#searchbox input[type="text"] {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2YhS1ysw9LuWk9WSoDnfuq3NLbOIOUIPdkYvTlGZjW80Re7JqkwfRCkCaDuAmaM7HdKYM-VWWPIOnpzehWzP3S3GgTy-rkx5RZ8yvW8UFJcXP9mwhwbVULg6XkTHudrgYgaWmRuAx0vUu/s1600/search-dark.png) no-repeat 10px 6px #fff;
    border-width: 1px;
    border-style: solid;
    border-color: #fff;
    font: bold 12px Arial,Helvetica,Sans-serif;
    color: #bebebe;
    width: 55%;
    padding: 8px 15px 8px 30px;
}

#button-submit {
    background: #6A6F75;
    border-width: 0px;
    padding: 9px 0px;
    width: 23%;
    cursor: pointer;
    font: bold 12px Arial, Helvetica;
    color: #fff;
    text-shadow: 0 1px 0 #555;
}

#button-submit:hover {
    background: #4f5356;
}

#button-submit:active {
    background: #5b5d60;
    outline: none;
}

#button-submit::-moz-focus-inner {
    border: 0;
}
</style>

<form id="searchbox" method="get" action="/search">
<input name="q" type="text" size="15" placeholder="Type here..." />
<input id="button-submit" type="submit" value="Search" />
</form>
<style>
#searchbox {
width: 240px;
}
#searchbox input {
    outline: none;
}
input:focus::-webkit-input-placeholder {
    color: transparent;
}
input:focus:-moz-placeholder {
    color: transparent;
}
input:focus::-moz-placeholder {
    color: transparent;
}
#searchbox input[type="text"] {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2YhS1ysw9LuWk9WSoDnfuq3NLbOIOUIPdkYvTlGZjW80Re7JqkwfRCkCaDuAmaM7HdKYM-VWWPIOnpzehWzP3S3GgTy-rkx5RZ8yvW8UFJcXP9mwhwbVULg6XkTHudrgYgaWmRuAx0vUu/s1600/search-dark.png) no-repeat 10px 13px #f2f2f2;
border: 2px solid #f2f2f2;
    font: bold 12px Arial,Helvetica,Sans-serif;
    color: #6A6F75;
    width: 160px;
    padding: 14px 17px 12px 30px;
    -webkit-border-radius: 5px 0px 0px 5px;
    -moz-border-radius: 5px 0px 0px 5px;
    border-radius: 5px 0px 0px 5px;
    text-shadow: 0 2px 3px #fff;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
}
#searchbox input[type="text"]:focus {
background: #f7f7f7;
border: 2px solid #f7f7f7;
width: 200px;
padding-left: 10px;
}

#button-submit{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjq3SdMq-Bqd631uaIyF4h3zZ32XoKTCNaEU4UsonK9J6qnxzIjPokdn_HbI4vBQgpwGpn8jW8gSsY-54T1oBxVf7A7t7IfuLtXiF-grenz7_OBxa3YHNyA1KwHAHlItOaGzghyubDtPcd/s1600/slider-arrow-right.png) no-repeat;
margin-left: -40px;
border-width: 0px;
width: 43px;
height: 45px;
}
</style>

<form id="searchbox" method="get" action="/search" autocomplete="off">
<input name="q" type="text" size="15" placeholder="Enter keywords here..." />
<input id="button-submit" type="submit" value=" "/>
</form>
<style>
#searchbox {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz6GTwpDM_A0OJXeA2cu8dkL4I7C0SSlFXQDZCQfWKgX8XE-0W1I2hz9P4cVwP6wJBFLb1Ysy2i-EKOn36nkdD2dUFlKG5DPpSCVgctOLTvGqxvInOliGjGtQOE19cXVjebvqQjUTP0XHx/s1600/searchbar.png) no-repeat;
    width: 208px;
    height: 29px;
}
input:focus::-webkit-input-placeholder {
    color: transparent;
}
input:focus:-moz-placeholder {
    color: transparent;
}
input:focus::-moz-placeholder {
    color: transparent;
}
#searchbox input {
    outline: none;
}
#searchbox input[type="text"] {
    background: transparent;
    margin: 3px 0px 0px 20px;
    padding: 5px 0px 5px 0px;
    border-width: 0px;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 12px;
    color: #828282;
    width: 70%;
    display: inline-table;
    vertical-align: top;
}
#button-submit {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhehU8qfGEKznnul9CjA4HQ82_THbJdYMC8F01DXaEGv4SsUTq1SS_z7JjVOS8mIK1sunLJeEDPCw2TKNCTiTh5LCwXmVlcZ_5E_yTtVfrk5ZN1D57Q023BgIbMJWovsXYsfmKJOoPooMUb/s1600/magnifier.png) no-repeat;
    border-width: 0px;
    cursor: pointer;
    margin-left: 10px;
    margin-top: 4px;
    width: 21px;
    height: 22px;
}
#button-submit:hover {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC4JhcMtuDp5BDXKI1aEdOf8F5XvbjdV-pDfM1sCPrwy5dVDU6ZZWYtBmo2V8IefCRN3vpOcKrXQY8MvqzJNbOeYqkAWku07rlNlucsv2q-IM6ASBH7ohl1289c6mrYjcTgLa1TjrPNseF/s1600/magnifier-hover.png) no-repeat;
}
#button-submit:active {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC4JhcMtuDp5BDXKI1aEdOf8F5XvbjdV-pDfM1sCPrwy5dVDU6ZZWYtBmo2V8IefCRN3vpOcKrXQY8MvqzJNbOeYqkAWku07rlNlucsv2q-IM6ASBH7ohl1289c6mrYjcTgLa1TjrPNseF/s1600/magnifier-hover.png) no-repeat;
    outline: none;
}
#button-submit::-moz-focus-inner {
    border: 0;
}
</style>

<form id="searchbox" method="get" action="/search" autocomplete="off">
    <input name="q" type="text" size="15" placeholder="search..." />
    <input id="button-submit" type="submit" value="" />
</form>
<style>
#searchbox {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDPb7qTgMRtE25ioH6boZ6yb-bXRw4OzVxHhgrpQ_6S-t610WFCubLiaM87-6MgTew4QP5ev6bdI5yVrAQwtKgHDmoQVjUXe9EXuPYEUOcnADL0WOPX7dbccg6iKm7zGycrpQPZExZ_IHp/s1600/search-box.png) no-repeat;
    height: 27px;
    width: 202px;
}

input:focus::-webkit-input-placeholder {
    color: transparent;
}

input:focus:-moz-placeholder {
    color: transparent;
}

input:focus::-moz-placeholder {
    color: transparent;
}

#searchbox input {
    outline: none;
}

#searchbox input[type="text"] {
    background: transparent;
    margin: 0px 0px 0px 12px;
    padding: 5px 0px 5px 0px;
    border-width: 0px;
    font-family: "Arial Narrow", Arial, sans-serif;
    font-size: 12px;
    font-style: italic;
    width: 77%;
    color: #828282;
    display: inline-table;
    vertical-align: top;
}

#button-submit {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHidTgcE3Hiqf85zEOiqt3hQlxc8-_IHg-nxQu27GuoN9M_-FnvPv6UqQrnQ003t1YmH1mDP3UArkwehj7cenYVkwE36zAk2R7MG3NrbMVOOkYNCsNrm-vKlKVrjj5m6KfeAqTm9zb5tXi/s1600/search-button.png) no-repeat;
    border-width: 0px;
    cursor: pointer;
    width: 30px;
    height: 25px;
}

#button-submit:hover {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiacqMUVOGlcI1kxbOwcCQT571Y55pNQf-FD2IjnYwLCN3qmNPRZmgb3vU08qR6K4LF2MJILgwQrraVRIOLWyRM2W36yOemkicA2TNd3oLWvGDgqNahPaMta-VpCOyM0m9cW50zflpGJA-i/s1600/search-button-hover.png) no-repeat;
}

#button-submit::-moz-focus-inner {
    border: 0;
}
</style>

<form id="searchbox" method="get" action="/search" autocomplete="off">
<input name="q" type="text" size="15" placeholder="search..." />
<input id="button-submit" type="submit" value="" />
</form>
<style>
#searchbox {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguMW4PiqcVeiKXaYEtfmIIa2akT1TuRh1ptUVoF_sLShWHEHfCSZv_Why9tk8iZyS5aoZ0aTx9PmkLhYc45Jse5U0wZ9XYfJgrD9sfduxOri2y7BpvG5wgZuhzvWNSBkdCGxiLs7XHmeif/s1600/search-box1.png) no-repeat;
    width: 250px;
    height: 65px;
}

input:focus::-webkit-input-placeholder {
color: transparent;
}

input:focus:-moz-placeholder {
color: transparent;
}

input:focus::-moz-placeholder {
color: transparent;
}

#searchbox input {
    outline: none;
}

#searchbox input[type="text"] {
    background: transparent;
    padding: 5px 0px 5px 20px;
    margin: 10px 15px 0px 0px;
    border-width: 0px;
    font-family: "Brush Script MT", cursive;
    font-size: 12px;
    color: #595959;
    width: 65%;
    font-weight: bold;
    display: inline-table;
    vertical-align: top;
}

#button-submit {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvCWyMOtVC25ygAXrI5c03yahqFAu_z3R0Wktiahz06SgFbBaA6Af-q9u7ouNrYTohQY47_056HrPPdgYlgCVJrG6jZwl1OD-WkF8G2_nM79LmuWDU-cBMkRPNsxWqsiD8r5esyT9a3RFL/s1600/magnifier.png) no-repeat;
    border-width: 0px;
    cursor: pointer;
    margin-top: 10px;
    width: 19px;
    height: 25px;
}

#button-submit:hover {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivh0NHyUnaIO-HJ6IbAkNI61PRYD80LGh5raofHB9hQF7rJMMs9Y7-iffmEE-hXJzARod4EAsgWgKXQmRoVjpuZwZlH2jS4GkPQk3HM9-FF3VypaSPFy7JF0HjsFrZ7XZbomTVXRs9UGxh/s1600/magnifier-hover.png) no-repeat;
}

#button-submit:active {
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivh0NHyUnaIO-HJ6IbAkNI61PRYD80LGh5raofHB9hQF7rJMMs9Y7-iffmEE-hXJzARod4EAsgWgKXQmRoVjpuZwZlH2jS4GkPQk3HM9-FF3VypaSPFy7JF0HjsFrZ7XZbomTVXRs9UGxh/s1600/magnifier-hover.png) no-repeat;
    outline: none;
}

#button-submit::-moz-focus-inner {
    border: 0;
}
</style>

<form id="searchbox" method="get" action="/search" autocomplete="off">
    <input class="textarea" name="q" type="text" size="15" placeholder="Search here..." />
    <input id="button-submit" type="submit" value="" />
</form>

Demikian kumpulan widget search box lengkap yang bisa sahabat pasang di situs atau blog sahabat semua. Jika ada kesulitan atau hal yang belum dipahami, silahkan coret-coret saja di kotak komentar. Semoga sukses selalu...

Share this:

Artikel Menarik Lainnya

Show comments
Hide comments

No comments

Silahkan berkomentar dengan baik.

Info Pendidikan