Give this a shot. Rather than put display:none on your dialog content div
itself, put it inside a div that has display:none, like so:

<div style="display:none;">
  <div id="example" class="flora" title="This is my title">I'm in a
dialog!</div>
</div>

When the dialog is opened, it will get move from that div to the end of the
body, so it will no longer be inside a hidden div.

- Richard

On Mon, Dec 22, 2008 at 2:08 AM, Andries Snyman <[email protected]> wrote:

>
> Hi James,
>
> I had the same problem.
> Include the styles as created by jquery style builder.
> Then remove the display:none that you inserted, it should work then.
> I think there may be a glitch, because I get a flicker of the Div on
> page load, so may be some one can advise us on this.
> I'm luckily not using this for a mainstream front end, but it's still
> bothersome.
>
> Kind regards
>
> On 12/22/08, James Little <[email protected]> wrote:
> >
> > When I set the original div to 'display:none', the text within the div
> > remains hidden even after I trigger my dialog window. Has anyone else
> > experienced this? I would have expected the jquery JS to automatically
> > modify the DOM to make that div visible?
> >
> > >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to