I''m struggling to avoid flickers in firefox when updating elements. Specifically, here - http://bestbefore.tv/flickr.html I''m removing an element that''s floated left, and at the same time adjusting the position of the parent element so that the other child elements don''t change their screen position. In Firefox, I''m seeing that the element is removed, the screen is redrawn (where all the other child elements jump left since their sibling has disappeared), and then the parent element''s position is set. I don''t suppose there''s a way of disabling screen updates? Any other ways of creating a ''transaction'' of element updates? One way of handling this is to make all the child elements absolutely positioned, rather than floated left, but that''s making my code quite a bit more complex. Cheers, Jon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Sherif Zaroubi
2007-Apr-03 18:24 UTC
Re: Avoiding firefox flickering in-between updating elements?
> -----Original Message----- > From: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails- > spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Jon > Sent: Tuesday, April 03, 2007 1:12 PM > To: Ruby on Rails: Spinoffs > Subject: [Rails-spinoffs] Avoiding firefox flickering in-between updating > elements? >> One way of handling this is to make all the child elements absolutely > positioned, rather than floated left, but that''s making my code quite > a bit more complex. >How about making it transparent the time of the update, would that solve the problem ?> Cheers, > Jon > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---