Please file an issue on Scriptaculous, then. Scripty 1 should stay in step with Prototype!
Walter On Mar 14, 2013, at 11:34 AM, Miguel Beltran R. wrote: > I fixed it :D > > #Walter > > The problem were here > var pos = Position.cumulativeOffset(this.input); > pos.push(pos[0] + this.input.offsetWidth); <-- HERE STOP > In 1.7, the cumulativeOffset function return a Object {top:x, left:y} when in > 1.6 returned an array, howerver the object has the toArray function , so I > changed it to > var pos = Position.cumulativeOffset(this.input).toArray(); > > > #Jason > I have checked Script2 but no Script1, the version 2 of autocomplete don't > like me. > > > 2013/3/13 Walter Lee Davis <wa...@wdstudio.com> > What do you see in Firebug or Web Inspector's console? Can you please post an > example showing your work so far? We will be happy to help, but without > setting up a demo locally, it's going to be difficult for us to divine > exactly where the problem is. > > Walter > > On Mar 13, 2013, at 3:18 PM, Miguel Beltran R. wrote: > > > Hello List!!! > > > > I have tried to use AutoComplete 1.2 (1) but it is not working with > > prototype 1.7. > > > > someone know another working library?or tell how fix it > > > > The problem that I have is with the position, using Firebug for debug > > _reposition: function() > > { > > if(!this.drawn) return; > > var pos = Position.cumulativeOffset(this.input); > > pos.push(pos[0] + this.input.offsetWidth); <-- HERE STOP > > pos.push(pos[1] + this.input.offsetHeight); > > Element.setStyle(this.selector,{ > > left: pos[0] + 'px', > > top: pos[3] + 'px' > > }); > > }, > > > > > > (1) http://www.beauscott.com/examples/autocomplete/doc/ns_examples.html > > > > -- > > ________________________________________ > > Lo bueno de vivir un dia mas > > es saber que nos queda un dia menos de vida > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Prototype & script.aculo.us" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to prototype-scriptaculous+unsubscr...@googlegroups.com. > > To post to this group, send email to > > prototype-scriptaculous@googlegroups.com. > > Visit this group at > > http://groups.google.com/group/prototype-scriptaculous?hl=en. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to prototype-scriptaculous+unsubscr...@googlegroups.com. > To post to this group, send email to prototype-scriptaculous@googlegroups.com. > Visit this group at > http://groups.google.com/group/prototype-scriptaculous?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > ________________________________________ > Lo bueno de vivir un dia mas > es saber que nos queda un dia menos de vida > > -- > You received this message because you are subscribed to the Google Groups > "Prototype & script.aculo.us" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to prototype-scriptaculous+unsubscr...@googlegroups.com. > To post to this group, send email to prototype-scriptaculous@googlegroups.com. > Visit this group at > http://groups.google.com/group/prototype-scriptaculous?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To unsubscribe from this group and stop receiving emails from it, send an email to prototype-scriptaculous+unsubscr...@googlegroups.com. To post to this group, send email to prototype-scriptaculous@googlegroups.com. Visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. For more options, visit https://groups.google.com/groups/opt_out.