css - YUI3 Y.Panel - How to hide HTML contents while page is loading? -


i have panel i'm using modal dialog box, , such contents should hidden view while page loading. however, if use css set div's display:none or visibility:hidden yui show() & hide() methods don't work (eg, clicking button call modal dialog greys out screen, referenced div not appear). can point me towards best way this?

thanks!

try adding yui3-widget-loading container div. when y.panel instantiated, remove class. can define .yui3-widget-loading { display:none; } not visible during page load.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -