Wednesday 4 April 2012

Adding a Simple Search Box to Your Blog



1.Go to Design,then click on add a gadget.
2.Use the Below Code and Add the Widget as HTML/JavaScript


CODE:
<div class="searchform">
<form method="get" id="searchform" action="/search">
<table width="100%">
<tr>
<td><input type="text" style="width:98%;padding:2px;" value="Search this blog..." onfocus="if (this.value == &quot;Search this blog...&quot;) {this.value = &quot;&quot;}" onblur="if (this.value == &quot;&quot;) {this.value = &quot;Search this blog...&quot;;}" name="q" id="sbox" class="sbox"></td>
<td width="75px"><input type="button" Value="Search" id="sbutton" class="sbutton" alt=""></td>
</tr>
</table>
</form>
</div>

Print Page

Do you like this post? Please link back to this article by copying one of the codes below.

URL: HTML link code: BB link code:

About Author:

Raja Sekhar is the founder of this blog. He has been blogging since 2010 and is an active contributor of many blogs.

0 comments :

Post a Comment

Related Posts Plugin for WordPress, Blogger...