I was wondering whether somebody could point me to some documentation on how I would convert a moofx class to scriptaculous. Please see this very basic class: fx.ScrollThumbs = Class.create(); fx.ScrollThumbs.prototype = Object.extend(new fx.Base(), { initialize: function(el, options) { this.el = $(el); this.setOptions(options); this.now = 0; }, increase: function() { if (fm.param[''view''] == 3) { // scroll left this.el.scrollLeft = this.now; } else if (fm.param[''view''] == 4) { // scroll top this.el.scrollTop = this.now; } }, scroll: function(from,to) { this.clearTimer(); this.custom(from,to); } }); How would I convert this to scriptaculous? Thank you in advance for your input _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
With Ajax Autocomplete the autocomplete div is overlaped by the next TD in the table in Firefox only (both PC/Mac). I''ve tried messing with the z-index but it didn''t fix it. Check it out here by typing a professor first or last name. http://www.testing.coursereviews.com/professors/newreview On that same page the width of the autocomplete fields is kind of whack in Firefox - scroll down to Course Name and Department and enter values there and you''ll see the autocomplete fields don''t line up with the input fields as they do in IE. Thanks for any suggestions. -- Dylan Greene http://www.DylanGreene.com http://www.CourseReviews.com
Robin Haswell
2006-Feb-13 21:47 UTC
Re: Autocomplete shows up behind td in firefox - fixable?
I''m not gonna bother trying to work out that HTML, but have you tried placing the autocomplete div after the offending table? Apologies if it already is. -Rob Dylan Greene wrote:> With Ajax Autocomplete the autocomplete div is overlaped by the next TD in > the table in Firefox only (both PC/Mac). I''ve tried messing with the > z-index but it didn''t fix it. > > Check it out here by typing a professor first or last name. > http://www.testing.coursereviews.com/professors/newreview > > On that same page the width of the autocomplete fields is kind of whack in > Firefox - scroll down to Course Name and Department and enter values there > and you''ll see the autocomplete fields don''t line up with the input fields > as they do in IE. > > Thanks for any suggestions. > > -- > Dylan Greene > http://www.DylanGreene.com > http://www.CourseReviews.com > > > > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Dylan Greene
2006-Feb-13 22:17 UTC
RE: Autocomplete shows up behind td in firefox -fixable?
No, because I want the autocomplete to start working before the table finishes loading (users can be impatient). Great idea though, if I can''t find a workaround I''ll do that. -- Dylan Greene http://www.DylanGreene.com http://www.CourseReviews.com> -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On > Behalf Of Robin Haswell > Sent: Monday, February 13, 2006 4:47 PM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: Re: [Rails-spinoffs] Autocomplete shows up behind td > in firefox -fixable? > > I''m not gonna bother trying to work out that HTML, but have > you tried placing the autocomplete div after the offending > table? Apologies if it already is. > > -Rob > > Dylan Greene wrote: > > With Ajax Autocomplete the autocomplete div is overlaped by > the next > > TD in the table in Firefox only (both PC/Mac). I''ve tried messing > > with the z-index but it didn''t fix it. > > > > Check it out here by typing a professor first or last name. > > http://www.testing.coursereviews.com/professors/newreview > > > > On that same page the width of the autocomplete fields is kind of > > whack in Firefox - scroll down to Course Name and > Department and enter > > values there and you''ll see the autocomplete fields don''t > line up with > > the input fields as they do in IE. > > > > Thanks for any suggestions. > > > > -- > > Dylan Greene > > http://www.DylanGreene.com > > http://www.CourseReviews.com > > > > > > > > _______________________________________________ > > Rails-spinoffs mailing list > > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >