[Greasemonkey] delay rendering while changing css-display mode
of divs
Matthias Bauer
ml-greasemonkey-42imk83y at moeffju.net
Sat Apr 1 04:22:27 EST 2006
On 31.03.2006 08:55 Vectorspace wrote:
>> Set the parent element to display:none first, make your changes, then
>> set it back.
> But even though there is nothing visible, the divs are still a part of
> the page so won't Firefox still re-render it repeatedly?
No, Firefox doesn't redraw invisible elements (actually it never draws
them in the first place ;)). Using this technique worked fine for me.
-Matt
More information about the Greasemonkey
mailing list