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!
The post ends here. Wanna leave a response? Have Your Say!
BTW: This post has comments.
Next post: Youtube.com: “9 Crimes” by Damien Rice
Previous post: Youtube.com: Bogus Weightlifting In A Warehouse
The above post was initially scribbled on November 7th, 2007 @ 23:08:58 +0100 (CET) and has been last modified on September 16th, 2008. It is filed under the category WordPress Stuff and has been tagged with the terms [ajax | plugin | search | wordpress].
Sorry, still gathering information...
Trackback URI | Comments RSS | Permalink




Comment
#1
I integrated this into Live Search Popup version 1.3.4. Thanks for the hint.
Comment
#2
You’re welcome.