Good Man
2007-Nov-27 18:02 UTC
My Autocomplete Div Immediately Fades When Results Returned; 1.8 and 1.6 only
Hi there I''ve just updated my scripts to script.aculo.us 1.8, and prototype 1.6.... all is generally well except an ''autocompleter'' div that returns results immediately fades (opacity); if I revert to the old js files, everything is fine... any tips? is this a bug? As I said, my code remains unchanged. Only the javascript files ''break'' my autocomplete. Here''s my code: <input type="text" class="bigField" id="vFastContact" name="autocomplete_parameter" value="" onfocus="eraseAutocomplete(this);" /> <span id="indicator1" style="display: none"></span> <div id="autocomplete_choices" class="autocomplete"></div> <script type="text/javascript"> var balls = new Ajax.Autocompleter("vFastContact", "autocomplete_choices", "../plans/ajax_contacts_xml.php", {paramName: "value", minChars: 2, updateElement: contactSelect, indicator: ''indicator1''}); </script> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Good Man
2007-Nov-27 18:25 UTC
Re: My Autocomplete Div Immediately Fades When Results Returned; 1.8 and 1.6 only
On Nov 27, 1:02 pm, Good Man <jmalin...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve just updated my scripts to script.aculo.us 1.8, and prototype > 1.6.... all is generally well except an ''autocompleter'' div that > returns results immediately fades (opacity); if I revert to the old js > files, everything is fine... any tips? is this a bug?I''ve isolated it further. It''s actually Prototype 1.6 that is bothering my app. If I reference 1.5.11 everything runs as normal. Wonder what happened? Any tips? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Good Man
2007-Nov-28 15:29 UTC
Re: My Autocomplete Div Immediately Fades When Results Returned; 1.8 and 1.6 only
Hello I now have a working example online. http://www.planmine.net:1974/autocomp_1511.html works as expected, using Prototype 1.5.11 http://www.planmine.net:1974/autocomp_16.html has my <div> fading when results are present. The *only* change is the use of Prototype 1.6 This clearly looks like a bug of some sort to me.... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Good Man
2007-Nov-28 15:47 UTC
Re: My Autocomplete Div Immediately Fades When Results Returned; 1.8 and 1.6 only
This has been resolved, traced to the way the differences in CSS implementation by Prototype 1.6 and Autocomplete. In 1.5.11, it sets the results <div> to an opacity of 1.0; in prototype 1.6, it sets the results <div> to the opacity defined in the stylesheet. On Nov 28, 10:29 am, Good Man <jmalin...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello > > I now have a working example online. > > http://www.planmine.net:1974/autocomp_1511.htmlworks as expected, > using Prototype 1.5.11 > > http://www.planmine.net:1974/autocomp_16.htmlhas my <div> fading when > results are present. The *only* change is the use of Prototype 1.6 > > This clearly looks like a bug of some sort to me....--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---