On Friday, May 17, 2013 10:40:12 AM UTC+2, Matthew Gertner wrote:
> Is there another way to make the panel invisible without destroying the 
> nsIFrame?

For the record two people emailed me separately to suggest 
panel.style.visibility = 'hidden'. This works fine. The only caveat is that I 
still see the panel's old content for a split second if I make it visible again 
in the 'DOMContentLoaded' handler. If I wait for readystate to change to 
'complete' then it works fine and I see the new content with no blinking. I'm 
not sure if this is because rendering has not necessarily finished when 
readystate is 'interactive' or if it's just coincidence (since 'complete' 
happens later).
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to