Re: [jQuery] Jquery.css function poor performance

2006-10-18 Thread Raziel Alvarez
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

Re: [jQuery] Jquery.css function poor performance

2006-10-18 Thread Dave Methvin
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.

Re: [jQuery] Jquery.css function poor performance

2006-10-18 Thread Francisco Brito
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

[jQuery] Jquery.css function poor performance

2006-10-17 Thread Raziel Alvarez
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

Re: [jQuery] Jquery.css function poor performance

2006-10-17 Thread Brandon Aaron
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