A Spotlight-like search box for your web site?

Google
Web macswitching.com

spotlightOk, you’re so used to Spotlight but what about a search engine written in PHP+CSS+MySQL that strongly resembles Spotlight behaviour?

They’ve done a really good job recreating, with a smooth use of DOM and CSS coding, the Spotlight search box, the searching process in progress and results showing up.

By myself I’m getting a closer look to the code, there’s a lot to learn from: both in CSS and PHP side too…

You can download the whole thing zipped, a mere 56 KB, including PHP code, CSS+DOM and MySQL tables.

Go here to try it out or to BitFlux page where it all started from.

Ah, by the way: it looks like Safari 1.2 is one of the few supported browsers…

Leave a Reply

You must be logged in to post a comment.