feed Posts (RSS | eMail)
feed Comments (RSS | eMail)
Loading in process - please be patient.

Please consider signing the Google Gmail Automatic BCC Option Petition
and spread the word. Thanks!

I need more signatures - at least, help me reach the 100 for starters! :-)
[click box to close]

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!

[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

Trackback URI | Comments RSS | Permalink

del.icio.us del.icio.us eMail this post eMail Print Print
Did you like this post? NoYes
No votes yet, be the first!
Loading ... Loading ...

Comments

  1. This is
     Comment 
    #1
     Schimmi
    2007-11-08 @ 00:23:29 +0100 (CET) | Reply | Quote | Permalink

    I integrated this into Live Search Popup version 1.3.4. Thanks for the hint.

  2. This is
     Comment 
    #2
     Marco
    2007-11-08 @ 00:28:41 +0100 (CET) | Reply | Quote | Permalink

    You’re welcome.


Have Your Say!

back to top