Hi,

I'm trying to move DOM elements via "style.left=X" etc on mouseMove
events but find it slow because the performance is dependent on the
number and complexity of DOM elements on the page.

I did some timing, time between mouseMove events was 20ms when there
was no "style.left=X" and was about 60ms when there was a
"style.left=X".

I have looked into both DOM depth as well as number of total DOM
elements.

I have also looked into IFraming in order to contain the moving
element, it seems to work performance-wise but it has its limitations.

I tried using Mochikit's setattribute/updateattribute but that is even
slower than "style.left=X".

Does anybody have any hinters as to what I can do to speed up
performance?

This is on FireFox 1.5 on Mac_PPC_867Mhz.  The problem is more
pronounced on my slow mac than on my windows machine.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" 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/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to