Monday, March 5, 2007

How to Add a Search Box in New Blogger Template

Thanks to Antonio, I have added a search box in Mathpoints. You can just copy and paste the following code to a new "page element" to get a search box on the page.

<form action="/search" id="searchthis" method="get">
<input id="search-box" name="q" onclick="this.select()" value="Search..." type="text">
<input id="search-btn" value="Find" type="submit">
</form>

You can also change the Bold text to the words you like to display in the search box and the submit button.

3 comments:

The Imaginary Diva said...

This search bar works really well. Thanks....

Andy said...

glad you find it helpful, it is neat with no coding involved :)

Antonio said...

Thanks for my name in this post! My old site Ajaxcold has moved to http://woork.blogspot.com! :))