Hey Dave, so I re-engineered the event listeners to get registered on initialization in js - and used basically the technique you describe. So thanks ;) -l
http://development.finetooth.com/?p=15 Dave Crane in message Re: [Rails-spinoffs] XSLT Ajax Widget implementation (Fri, 06/09 09:42): > Hi Lindsey, > > Without looking at the internals of your app... if you're building up a table > and assigning event handlers to every row, you could make it quicker by > assigning one event handler to the entire table, which then figures out which > row was clicked (using Event.element, for example) and acts appropriately. > The event handler will need to be a bit more complicated, but if you're > having problems with the onload time, it might make a big difference. > > > HTH > > Dave > > > On Friday 09 June 2006 16:27, Lindsey Simon wrote: > > Is there any particularly fast way for > > assigning all the events to prevent that slowdown time onload? > > > _______________________________________________ > Rails-spinoffs mailing list > [email protected] > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs _______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
