OZONE Asylum
Forums
DHTML/Javascript
IE JS/DOM performance degradation weirdness
This page's ID:
27610
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[b]bitdamaged[/b]: The latest IE7 beta I tried also showed similar performance problems (but the workaround of throwing away "old" data prevented it, similarly.) [b]_Mauro[/b]: I am not removing the DOM nodes in fact (I am actually [i]keeping[/i] those intact,) but the objects in JS that reference them. eg.[code] Item.destructor = function() { this.releaseHandlers(); // remove any mouseover/out etc. from this.o (eg. an image or anchor) this.o = null; // remove DOM reference entirely }[/code]I found that destroying these objects alleviates the performance issue, despite leaving the related DOM nodes intact (though in a "swapped out" JS object, not actually appended to the body as mentioned earlier.)
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »