August 17, 2010

Blogging Tips - Search Bar

Since the going ons in the Pakistani political arena continue to traverse new heights of insolence, I thought I would utilize my skills elsewhere tonight and finally tell you how to get a search bar that actually works on your blog.

It is quite simple actually. Just log into draft.blogger.com and then navigate to the Page Elements. Click on Add a Gadget and then select HTML/Javascript. Just simply copy and paste the code below into the body of the widget and you're done.

<div id="searchBox">
<form id="searchform" action="/search" method="get">
<p><label for="s" class="accesible"></label>
<input id="s" value="" name="q" type="text" />
<button type="submit">Search!</button></p>
</form></div>