Leave a comment

cara memasang widget search box di blog

kali ini saya mau sharing lagi tentang blogging,yaitu cara pasang widget search box di blog.kegunaan widget ini yaitu persis seperti kotak pencariian di blog kita.jika anda menggunakan wordpress, kotak pencarian ini sudah disediakan. tetapi keuntungan lainnya widget ini dapat mempercantik blog kita. kerugiannya jika menurut saya widget ini menjadikan loading blog kita sedikit lambat,tapi gak lambat lambat kali juga. caranya copy code di bawah ini yang anda suka dan masukkan di widget text blog anda

<style type=”text/css”> #a-searchbox{background:url(http://lh5.googleusercontent.com/-Cm6Ya53Wj6g/TeixHY3LRDI/AAAAAAAAA6I/jJkMnJEN60s/way2blogging_searchbox1.png) 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&#8221; id=”abutton” /> </form></div>

<style type=”text/css”> #b-searchbox{background:url(http://lh3.googleusercontent.com/-bk2Si48eZSo/TeixHMdeiII/AAAAAAAAA6A/eQEEa1tyZkI/way2blogging_searchbox2.png) 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&#8221; id=”bbutton” /></form></div>

<style type=”text/css”> #d-searchbox{background:url(http://lh4.googleusercontent.com/-Pd1zyUMhsVo/TeixHnaB1hI/AAAAAAAAA6M/p-Iz_WGMQ3M/way2blogging_searchbox4.png) 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&#8221; id=”dbutton” /> </form></div>

<style type=”text/css”> #e-searchbox{background:url(http://lh6.googleusercontent.com/-wu3eH4N9D1Q/TeixH8dOd9I/AAAAAAAAA6Q/taoILP-y0vE/way2blogging_searchbox5.png) 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&#8221; id=”ebutton” /></form></div>
<style type=”text/css”> #f-searchbox{background:url(http://lh5.googleusercontent.com/-TN5qYaRnSR4/TeixH2TVJlI/AAAAAAAAA6U/gYrDmDItWJQ/way2blogging_searchbox6.png) 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&#8221; id=”fbutton” /> </form></div>

*jika ingin ukurannya diperbesar atau diperkecil, bisa diganti width dan height nya ya..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: