Adding a "Search This Blog" Widget
I started thinking the other day about this blog, and it occurred to me that having a search function would be awfully handy. Now, I had no idea how to do this, but, after much digging and trial and error I have found a way that works. I also thought, that since I found it useful, you guys may, too. So, if you'd like to add this to your own blog, just follow these easy steps:
1. Log in to blogger and go to your dashboard.
2. Click the "Layout" link.
3. Decide where you want to put your "Search This Blog" box, and then click "Add a Gadget". (Don't worry, if you want to move it later you can simply drag and drop it to a new position!)
4. When you click "Add a Gadget", you will see this:
Choose the 2nd option, the one that says "HTML/Javascript" by clicking the plus mark on the right.
5. In the title area, type what you want your search function to say. For instance, mine says "Search This Blog!". You can type anything you'd like there, but be sure to keep it short and simple and to the point.
6. Copy and paste this code into the box:
<p align="center"><form id="searchthis" action="/search" style="display:inline;" method="get"> <input id="search-box" name="q" size="25" type="text"/> <input id="search-btn" value="Search" type="submit"/> </form></p>
7. Hit "Save".
Congratulations! Your blog now has its very own search feature! Your readers can now search just within your blog for whatever they'd like! How awesomely easy was that? ;0)
♥
