After further tests I realize that most of the time is spent in getting the height and width of the passed element:
oHeight = e.offsetHeight;oWidth = e.offsetWidth;
Since this calculated by the browser I don't think there's much to do. What do you think? I'm using IE 6; I don't know if the same
After further tests I realize that most of the time is spent
in getting the height and width of the passed element:
oHeight = e.offsetHeight;
oWidth = e.offsetWidth;
As Brandon says, please post a link to a test page so we can take a look.
Brandon, I disagree with you. I've seen several cases where these two properties can take a second or two on documents with hundreds of nodes.I agree that a test case or example file is needed so the community can verify it and do something about it.
-FranciscoOn 10/18/06, Brandon Aaron [EMAIL
Hi,
I'm performing css manipulation in my application, but the performance degrades considerably fast as more markup is added. I tracked the problem to the jQuery.css function, specifically for those cases where I'm setting the width and height. Even smalladditions to the markup inside of the
Would it be possible for you to post a link so that we can see it or
at least maybe just a test case?
--
Brandon Aaron
On 10/17/06, Raziel Alvarez [EMAIL PROTECTED] wrote:
Hi,
I'm performing css manipulation in my application, but the performance
degrades considerably fast as more markup is