Thursday, April 26, 2007

Dustin Bachrach: A Developers Blog: Spotlight-Like Search As You Type With CSS, AJAX & JS

http://dbachrach.com/blog/2007/04/15/spotlight-like-search-as-you-type-with-css-ajax-js/
"OS X has a lot of great effects. These are great building blocks for creating effects for the web. You might have seen my previous tutorial on creating a Dashboard-Like effect using JS and CSS. This tutorial will show you how to create a Spotlight-Like effect for your search boxes. Take a look at the picture to the right to see where we are headed:

You can preview the finished effect here. This example will search through 3 text files of lists of names of celebrities, athletes, and presidents. In most real world situations, you would be searching inside databases, but for this preview I used text files. I have also zipped up the necessary files and put them here. This zip contains all required images, CSS files, HTML files, and javascript files."

No comments: