How to Add:
Search Box Code:
1) Clean Search Box:
Generally:
After mouse hover effect:
It's always show at the top of right.
Login>Blogger Dashboard>Layout>Add a Gadget>HTML/Javascript.
Then choose one of the search box, copy search box code and paste into your HTML/Javascript box.
Search Box Code:
1) Clean Search Box:
2) Dynamic width (Expandable) Search box:
<div id='nbc-searchsimple1'>
<form action='/search/max-results=8' method='get' id="nbc-searchsimplebox1">
<input name='q' id='nbc-searchsimpleinput1' onblur='if (this.value == "") {this.value = "Search this site...";}' onfocus='if (this.value == "Search this site...") {this.value = ""}' type='text' value='Search this site...'/>
<input id='nbc-searchsimplesubmit1' type='submit' value='Search'/>
</form>
</div>
Generally:
After mouse hover effect:
3) Elegant green Search box:
<div id='nbc-searchexpand1'>
<form action='/search/max-results=8' method='get' id="nbc-searchexpandbox1">
<input name='q' id='nbc-searchexpandinput1' onblur='if (this.value == "") {this.value = "Search this site...";}' onfocus='if (this.value == "Search this site...") {this.value = ""}' type='text' value='Search this site...'/>
<input id='nbc-searchexpandsubmit1' type='submit' value='Search'/>
</form>
</div>
4) Easy blue Search box:
<div id='nbc-searchgreen1'>
<form action='/search/max-results=8' method='get' id="nbc-searchgreenbox1">
<input name='q' id='nbc-searchgreeninput1' onblur='if (this.value == "") {this.value = "Search this site...";}' onfocus='if (this.value == "Search this site...") {this.value = ""}' type='text' value='Search this site...'/>
<input id='nbc-searchgreensubmit1' type='submit' value='Search'/>
</form>
</div>
5) Dark black Search box:
<div id='nbc-searchblue1'>
<form action='/search/max-results=8' method='get' id="nbc-searchbluebox1">
<input name='q' id='wc-searchblueinput1' onblur='if (this.value == "") {this.value = "Search this site...";}' onfocus='if (this.value == "Search this site...") {this.value = ""}' type='text' value='Search this site...'/>
<input id='nbc-searchbluesubmit1' type='submit' value='Search'/>
</form>
</div>
6) White color Search box:
<div id='nbc-searchblack1'>
<form action='/search/max-results=8' method='get' id="nbc-searchblackbox1">
<input name='q' id='nbc-searchblackinput1' onblur='if (this.value == "") {this.value = "Search this site...";}' onfocus='if (this.value == "Search this site...") {this.value = ""}' type='text' value='Search this site...'/>
<input id='nbc-searchblacksubmit1' type='submit' value='Search'/>
</form>
</div>
7) Stylish floating Search box:
<div id="MBBOldSearch">
<form action="/search/max-results=8">
<input name="q" id="MBBSinput" type="text" />
<input value="Search" id="MBBSsubmit" type="submit" />
</form>
</div>
It's always show at the top of right.
8) Round corner Search box:
<div class='noop-searchbox' id='noop-searchbox'>
<form action='/search/max-results=8' id='noop-searchform' method='get'>
<input id='s' name='q' onblur='if (this.value == "") {this.value = "Search...";}' onfocus='if (this.value == "Search...") {this.value = ""}' type='text' value='Search...'/>
<button id='sbutton' type='submit'><span id='simg'></span></button>
</form></div>
9) Black and white color Search box:
<form action="/search/max-results=8" id="searchbox">
<input name="cx" type="hidden" value="X:Y" />
<input name="cof" type="hidden" value="FORID:11" />
<input id="q" name="q" size="70" type="text" />
<input name="sa" type="submit" value="Search" />
</form>
10) White Search box:
<div id="nbc-searchbox">
<form id="nbc-searchform" action="/search/max-results=8" 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...";}'/>
</form>
</div>
11) Grew color Search box:
<div id="nbc-searchbox">
<form id="nbc-searchform" action="/search/max-results=8" method="get">
<input type="text" id="s" name="q" value=""/>
</form>
</div>
<style type="text/css">12) Red color Search box:
#nbc-searchbox{background:url(http://1.bp.blogspot.com/-NN0X9atWQVA/Ue7BSA-RMFI/AAAAAAAAAh0/hlsMUg1hQko/s1600/noxdo_blogspot_com_Search-icon5.png) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#nbc-searchform{display: block;padding: 12px;margin:0;}
form#nbc-searchform #s{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#nbc-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<div id="nbc-searchbox">
<form id="nbc-searchform" action="/search/max-results=8" method="get">
<input type="text" id="s" name="q" value=""/>
</form>
</div>
<div id="nbc-searchbox">
<form id="nbc-searchform" action="/search/max-results=8" 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...";}'/>
</form>
</div>
0 comments:
Post a Comment