16 May 2007 07:58:13 -0700, [EMAIL PROTECTED]
> But since the code will add a lot of DIV elements (~200).   What I am
> thinking is 'is it possible to suppress the relayout of the mozilla
> before the for-loop of adding DIV elements, and just relayout once
> after the for loop is finished.

You could create a parent DIV element outside of the DOM, add all
these 200 DIV elements and then add the parent DIV to the DOM.
Maybe that's a possible solution?

Regards,
Martijn


> Thank you.
>
> _______________________________________________
> dev-tech-layout mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-layout
>


-- 
Martijn Wargers - Help Mozilla!
http://weblogs.mozillazine.org/qa/
http://wiki.mozilla.org/Mozilla_QA_Community
irc://irc.mozilla.org/qa - /nick mw22
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to