The element I am changing is absolutely positioned so it doesn't matter that it takes up space on the page still - no one can tell. I am using visibility, as Justin said, to calculate while user can't see it. Does this seem like a glitch? I don't understand why update would be affecting my style settings.
On Jun 4, 3:44 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote: > > Yeah, normally you don't want to do visibility: hidden, that keeps the > > element in the layout, just doesn't show it. > > He's doing that so that the dimensions of the element can be calculated. > > Element.getDimensions() already does this though, if an element is hidden. > > -justin --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---