|
Re: Adding YubNub to your website.: msg#00006search.yubnub
Gourgandin <gourgandin-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx> on Fri, 15 Feb 2008 06:44:28 -0800 (PST) didst step forth and proclaim thus: > What if I want to use the auto-completer > http://www.grahamedgecombe.com/yubnub/ > ? > > Thanks. I'm not sure if the code on that page will work verbatim if you just copy it. It's using a request object to retrieve a list of commands that are substring matches for what you've typed so far from his server. It then fills <div> objects with values equal to the different yubnub commands into a hidden <div> element on the page. It then displays that element underneath the text input entry. I'm not a javascript expert...almost never hacked any ajax before. The main concern with copying that code is that the url http://www.grahamedgecombe.com/yubnub/ajax.php. That's what's used to get the list of commands. I don't know if you could just change the url portion of the http_request object to be his url, if javascript security prevent that or not. Someone with more skills than I should take a crack at the problem. -- Sam Peterson peabodyenator-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx "if programmers were paid to remove code instead of adding it, software would be much better" -- unknown --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "YubNub" group. To post to this group, send email to YubNub-/JYPxA39Uh5TLH3MbocFFw@xxxxxxxxxxxxxxxx To unsubscribe from this group, send email to YubNub-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@xxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/YubNub?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Adding YubNub to your website.: 00006, Gourgandin |
|---|---|
| Next by Date: | My nude: 00006, dorthaarnulfoi-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx |
| Previous by Thread: | Re: Adding YubNub to your website.i: 00006, Gourgandin |
| Next by Thread: | My nude: 00006, dorthaarnulfoi-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |