It looks like this does most of the Javascript side of things for you - I
haven't looked at it beyond playing with the demos, but it seems pretty
slick.

http://fnjordy.cus.org.uk/auto/


-----Original Message-----
From: Barney Boisvert [mailto:[EMAIL PROTECTED] 
Sent: Monday, 21 March 2005 3:36 p.m.
To: CF-Talk
Subject: Re: Google Suggest-like functionality with CF

Yeah, it's not particularly complex.  There's two distinct parts you
have to consider: 1) the UI, and 2) the server interaction.

The latter is quite simple.  Check out Neuromancer (hit google).  It's
an abstraction layer for doing asynchronous HTTP requests from
javascript.  Basically two lines of code and you can make requests to
the server without loading a page.  There are various other methods as
well, but that's a really simple one that I use with great success.

The UI is a little more complex, depending on how "slick" you need it
to be.  Simplest is probably to just populate a SELECT dropdown with
the dynamic options.  Google Suggest goes for broke with a div,
higlighting, keyboard trapping for moving the selection, etc.

cheers,
barneyb

On Sun, 20 Mar 2005 21:42:26 -0500, Pete Ruckelshaus
<[EMAIL PROTECTED]> wrote:
> Anyone done anything like Google Suggest on CF?  Care to share any
> tricks or tips?
> 
> Thanks
> 
> Pete

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199516
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to