Just add a style="display:none" to your loginDialog, or a surrounding div.

J

On 5-Jun-07, at 5:50 PM, Heping Zhang 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?

--
Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca


Reply via email to