There is a simple solution for this.

The Tab's divs are not visible at first, so the user can't see the
<iframe>s loading.

Once the page is loaded, all divs are marked visible.




2007/8/8, Marcelo C. de Freitas <[EMAIL PROTECTED]>:
> it's almost working....
>
> almost because the dojo's ContentPane is a DOM node inside the page.
>
> which means the page inside the TabContainer can't be a complete page
> (html, body, ...). Which means the listeners may not work (actualy,
> they didn't work at all in my tests).
>
> One solution I found is to use <iframe>s. But there is a problem with
> this approach.
>
> Every single tab is loaded into the page when the user enters it, and
> when it's loading the iframes are shown (the JavaScript only run after
> the frames  have finished loading).
>
>
> Have anyone came across this situation?  Any idea?
>
>
>
>
>
>
> 2007/7/23, Marcelo C. de Freitas <[EMAIL PROTECTED]>:
>
> > 2007/7/23, Shing Hing Man <[EMAIL PROTECTED]>:
> > > Have you tried  Dojo TabContainer?
> > > The following has an example (in Tap 4.1.2).
> > >
> > >  http://lombok.demon.co.uk/tapestry41Demo/app
> > >
> > > Shing
>
> --
> Marcelo C. Freitas
>
> IM's:
> MSN: [EMAIL PROTECTED]
> ICQ: 24263609
> Jabber: [EMAIL PROTECTED]
> GTalk: [EMAIL PROTECTED]
> Yahoo: baterausp
>


-- 
Marcelo C. Freitas

IM's:
MSN: [EMAIL PROTECTED]
ICQ: 24263609
Jabber: [EMAIL PROTECTED]
GTalk: [EMAIL PROTECTED]
Yahoo: baterausp

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to