[Rails-spinoffs] Can Ajax.Autocompleter be abused for this?

Thomas Fuchs t.fuchs at wollzelle.com
Tue Jul 4 08:32:43 GMT 2006


Heya,

Just wanted to note that it seems it has some graphical glitches on  
Safari,
most notably the "type" thing at the right side of the list (Package,  
etc.) disappears
when you mouseover.

Best,
Thomas

Am 03.07.2006 um 18:49 schrieb Jeremy Kitchen:

> check out what I did for g-p:
> http://gentoo-portage.com/
>
> The code I wrote is buried deep inside /js/main.js in the
> Ajax.XMLAutocompleter class.  Note that this is *not* a generic  
> class, it's
> in fact very very specific :)  I may turn it into a more generic  
> class at a
> later time, but the concept is shown.
>
> Mike wanted to be able to return an XML document and have that  
> parsed on the
> client-side, so I overrode the onComplete method to parse/build the  
> request
> content myself.
>
> Unfortunately, it expects the text of the content for the drop down  
> rather
> than the DOM node to append, but, meh, innerHTML *does* perform  
> faster on
> *every* browser than DOM manipulation, sadly ;)
>
> -Jeremy
>



More information about the Rails-spinoffs mailing list