Set a style rule on the div ...such as style="display:none"

On 6/5/07, Heping Zhang <[EMAIL PROTECTED]> wrote:

hi, I use dojo's dialog to let people login,like this:
<div jwcid="[EMAIL PROTECTED]" hidden="ognl:loginHidden">
    <div jwcid="@Login" dialog="component:loginDialog"
needUpdate="component:userToolbarP"/>
</div>
All is ok, except one small problem. Before the page opened completely,the
loginDialog appears on the top of the page. Only after the browser
download
the entire page the dialog hidden.
I initialize the loginHidden property to true. <property
name="loginHidden"
initial-value="true"/>
If the time it takes to download the page is long, the dialog which should
hidden makes it not perfect. Could someone help me?




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Reply via email to