If you're only closing the dialog with .dialog('close'), you reopen it with
.dialog('open'). You only want to call .dialog() init again if you've called
.dialog('destroy'), or .remove() (which will call the same).- Richard On Thu, Sep 25, 2008 at 4:59 AM, David <[EMAIL PROTECTED]> wrote: > > ok, i solved first part, but why when i click second time it doesnt at > all. > > On Sep 23, 3:50 pm, Fontzter <[EMAIL PROTECTED]> wrote: > > Remove the display:none from the div you are making a dialog > > (id="dock"). If you want it hidden when the page loads, put it > > _inside_ a hidden div rather than hiding it. Like this: > > > > <div style="display:none;"> > > <div id="dock"> > > ****your content here**** > > </div> > > </div> > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
