Marco Luthe Online! » WordPress Stuff » WordPress Plugin “Live Search Popup”
WordPress Plugin “Live Search Popup”
I always wanted to add an AJAX-style search to my website – thanks to this nice plugin, I could easily add it. It needed some customization, though, because the colors would not quite fit my theme. Also, I wanted to make my site XHTML valid, but unfortunately, the plugin uses two attributes which are not within the standard: “autocomplete” and “placeholder”.
I realized that I do not need “placeholder”, and I turn on the autocomplete feature with JavaScript, instead – I simply added it to the ls.init function within the live_search.js:
init:function() {
document.getElementById("s").setAttribute("autocomplete","off");
(...)
I actually got this JavaScript trick from the Mozilla Wiki.
This plugin is awesome – thanks for providing it!
- “Live Search Popup” for WordPress:
1stein.org/2007/09/11/live-search-popup/
[Update from 2007-11-15]
Thanks to Stefan for implementing my suggested “show all” feature!
Filed under: WordPress Stuff · Tags: ajax, plugin, search, wordpress
-
http://1stein.org Schimmi
-
http://www.saphod.net Marco











