Apple Spotlight type search on the site
Posted on July 3, 2005 | Filed Under Apple, Internet, Mac OS X, WordPress
I did some reading over the weekend on what it would take to implement “live searching” on the site. What I mean by that is searching a Web site in a similar way to how Apple has implemented live searching on a Macintosh using Spotlight.
This morning I decided to take the plunge and after toying around off and on today I got it pretty much done. I still have to work on the CSS a bit more, but it’s functional.
It should work on most browsers, although it doesn’t for sure on IE for the Mac — then again who cares. If you use Safari, you even get the rounded corners and drop shdows.
So, to use the live search function just click in the search box and start typing. Results should popup under the search window almost immediately; using your arrow keys (or mouse) scroll down to the story you want and hit enter. If you want to exit out of search, just hit the Escape key on your keyboard.
Related Content
About this Post
Permalink | Trackback |
|
Print This Article |
Comments
9 Responses to “Apple Spotlight type search on the site”
Leave a Reply
Man, that’s impressive. It’s quite fast! Cool feature!
Excellent! Glad to hear it works for you Eric.
Marg was having some trouble earlier, but all seems fine now.
Works for me now, too, Jim.
Ah, great — I forgot it didn’t work for you either. FWIW, the live search found the new story right away. As soon as it was posted, I did a search and there it was.
And you weren’t banned — I guess you’re not a spammer
Very slick Jim. Did you code this yourself or did you get it from somewhere? I’d love to have something like this for my own site.
Hey Derik. A little bit of both — there is no way I could have coded the JavaScript. I still have some work to do with it though.
Very cool at any rate Jim. Once you feel like you’re done working with it, shoot me over a copy if you can.
No problem at all.
I found this entry and would be interested in seeing the example. Is it still around? Thanks.