On Oct 27, 6:19 am, Jonathan <[EMAIL PROTECTED]> wrote:
> My question, I guess, is whether there's a way to make multiple calls
> to setStyle before any of them take effect.

Yes, exactly as shown.


> Essentially, I want the
> next browser update to have the results of both changes. I do not want
> to permit the browser to update in between (after the first but before
> the second).

Browsers will not update the UI until the function ends.  Any
flickering that you see may be the result of other scripts running
while the browser is trying to update, hence the flickering.  You can
only fix that by changing when the other scripts run, not the style
setting function itself.


> I'm not looking for something specific to my needs, for setting the
> Height specifically. I'm just wondering if there's any way to solve
> this general problem.

In that case, you need to look deeper into what scripts (and other UI
updates) are running after the one that attempts to set the style
changes.


> On Oct 26, 5:07 am, RobG <[EMAIL PROTECTED]> wrote:
> > On Oct 26, 9:57 am, Jonathan <[EMAIL PROTECTED]> wrote:

I wish people here would not top-post.


--
Rob


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to