Performance of offsetHeight and offsetWidth with dynamic content

Discussion in 'Javascript' started by Carlos, Feb 21, 2008.

  1. Carlos

    Carlos Guest

    I have a javascript that uses offsetHeight and offsetWidth to do some
    layout of my page, however recently all the contents of my page are
    injected dynamically in a div using innerHTML, now I notice
    significant performance issues when getting offsetHeight and
    offsetWidth. Is anybody familiar with this performance issue?
    I will greatly appreciate any help.

    Paul
    Carlos, Feb 21, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    457
  2. offsetHeight

    , Feb 7, 2005, in forum: Javascript
    Replies:
    10
    Views:
    206
    Grant Wagner
    Feb 7, 2005
  3. Ned Baldessin
    Replies:
    1
    Views:
    177
  4. Tony

    offsetHeight in Mozilla 2.0.0.4

    Tony, Jun 21, 2007, in forum: Javascript
    Replies:
    0
    Views:
    77
  5. Replies:
    3
    Views:
    119
    Thomas 'PointedEars' Lahn
    Sep 18, 2007
Loading...

Share This Page