Pages

Stuff to Think About

Check out this post by CJ, who's already integrated Google's AJAX Search API into his Blogger blog:

"A little HTML, a little CSS, and a little Javascript should do the trick. In my HTML, I used two divs, and a link to clear the results. One div is the search control div, and the other is a wrapper for the search control div. I put it near the bottom of my html files so it appears on top of the content on each page. Here's how it looks:"
    <div id="searchControlWrapper">
<a href="#" id="clearLink"
onclick="searchControlClear();">Clear</a>
<div id="searchControl"/>
</div>
You can play with it by searching for keywords like java and ajax in the searchbox in his blog's upper-right corner.

0 comments:

Post a Comment