For me, what caused the flicker was that the script would set the 'overflow: hidden' property of the element. So if you declare that initially, no more flicker.

Something like this:
<div style="display: none; overflow: hidden">
Stuff that you want hidden initially.
</div>

--Tom

Ron Piterman wrote:
Hi,
I add a div to my document and use an effect to make it apear gracefully.
Unfortunatly, when adding the element, the element apears shortly, then the effect (slideDown) lets it apear nicely - so the page flickers abit -
What is the best practice to avoid it?
Cheers,
Ron

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs


_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to