LiveSearch | September 29, 2004
What a cool idea. A live search ala Spotlight for your site. The slickest implementation I’ve seen so far is over at CollyLogic.
However the search doesn’t work with Javascript turned off, which is a bit of a problem. The next logical step would be to check that the necessary objects are available, and if not, display a regular search box instead. It would also be a really good idea to separate the behaviour from the display. That way you could add the livetext.js file to any page and it would automatically add the behaviour to any search boxes it finds.
Posted at September 29, 2004 12:37 PM
Colly said on September 29, 2004 11:51 PM
Thanks Andy - as stated in the article it is a work in progress. The originators did develop the idea well, but making it sync with my CMS has been tricky. I really need it to search inside entries too - not just article titles.
Agreed regarding javascript on/off. It also doesn’t work with pre-Panther Safari, and some older browsers, hence the help (?) link next to the search field. Basically, I deemed it too useful to exclude just because of sporadic support, although offering alternatives would have supported this standpoint.
As suggested in the article, once it’s fully resolved, I’ll aim to offer it as a download, although the Live Search wiki (http://blog.bitflux.ch/wiki/LiveSearch) is the best place to learn more…