Re: svn: /web/php/branches/PROTOTYPE_2010/ css/structure.css css/theme.css index.html js/common.js js/jquery.autocomplete.pack.js
js/search-index-en.js
| From: | Paul Dragoonis | Date: | Wed, 30 Dec 2009 19:30:31 +0000 |
| Subject: | Re: svn: /web/php/branches/PROTOTYPE_2010/ css/structure.css css/theme.css index.html js/common.js js/jquery.autocomplete.pack.js js/search-index-en.js |
||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-6873@lists.php.net to get a copy of this message | ||
On Wed, Dec 30, 2009 at 7:27 PM, Paul Dragoonis <dragoonis@gmail.com> wrote:
> I've spend many hours modifying the plugin core to add in some important
> callbacks to allow us to easily customize the behaviour of the plugin at
> different stages.
>
> If you type in 'a' you will see the custom found descriptions for 'abs' and
> 'acos' items.
> It's still to be created how we will use XHR to get the descriptions
> dynamically from the backend as pre-populating truncated descriptions will
> be too heavy on the .js file size .
>
> My preview is hosted at: http://digiflexdev.com/php/2010/
>
> If you compare the popup autocomplete to the original one hosted at
> http://prototype.php.net/ you will see differences of offset
> changes,
> descriptions and clickThrough option to the manual.
>
> There are various new callback options available to the plugin.
> *left_offset, right_offset, resultsSelector, preDisplayItems*
>
> The dynamic offset calculation works in IE 6,7,8. Firefox (latest),
> Chrome(latest), all on Windows.
>
> There are comments next to each config option in the common.js source file.
>
> These new callback options will allow us to have it looking more like
> http://ambitious.ca/php/search-1.png
>
>
> Comments always welcome.
>
> Cheers.
> Paul Dragoonis
>
>
> On Wed, Dec 30, 2009 at 5:12 PM, Stewart Lord <stewey@ambitious.ca> wrote:
>
>> On Wed, 30 Dec 2009 12:09:08 +0000, Paul Dragoonis <dragoonis@gmail.com>
>> wrote:
>> > Hi Stew.
>> >
>> > Does that mean we're giving up on the Description (coming from XHR) or
>> > continuing with it?
>> >
>> > Just making sure before i spend ages implementing it.
>>
>> The scoring is the most important - we need that for sure. It would be
>> nice
>> to see how well the description looks/works, but I'm not sure it is worth
>> spending very much time on at this stage.
>>
>> Cheers,
>> Stew
>>
>
>
Sorry the previous email was prepended and not appended.
Here is the .patch file for the changes made.
http://digiflexdev.com/php/2010/autocomplete_desc.patch
Cheers.
Paul Dragoonis.