The Ad supported Ajax search Code is available at Google Web Elements .You can see 3 options there.
- Automatically Search My Site
- Search my Site and use Adsense for Search
- Use an existing Custom Search Engine
After grabbing this code, just go to your Blogger > Layout page and add a new HTML/JavaScript Gadget and paste the Google Web Element Custom Search code there and save the gadget. The Gadget will look better if you drag it to above the Blog Posts Widget and save it.[that area has got enough space to display the ads :)]
Here is a preview of what you should see.
Custom Search Control
Web |
If you want to change the colours and styling of the search results, you will have to add additional CSS Classes.
Update: – Now Google CSE has added all these things. and much more(themes and other customization stuff) So it would be easier for you guys.. :)
0 comments