This is a bug in version 1.5.2. The workaround is to provide a title for the
dialog, either via

$("#dialog").dialog({ title: " " });

or

<div id="dialog" title="&nbsp;">Hello world</div>

This has been fixed in 1.6rc2 and svn. See

http://ui.jquery.com/bugs/changeset/445
http://ui.jquery.com/bugs/changeset/449

- Richard

On Tue, Oct 28, 2008 at 9:47 PM, crypto5 <[EMAIL PROTECTED]> wrote:

>
>
> Hi all,
>
> trying to use Dialog widget. Downloaded some theme from Theme Roller, and
> trying to use it. Have following result:
> http://www.nabble.com/file/p19788465/jquery-dialog.jpg
>
> Have some strange Close button position.
>
> Have anybody any ideas why it happened and how to fix it properly?
>
> There is some test code:
>
> <html>
> <head>
> <script src="jquery.js" type="text/javascript"></script>
> <script type="text/javascript" src="jquery-ui.js"></script>
> <link rel="stylesheet" href="jquery-ui-theme.css" type="text/css"
> media="screen" title="JQuery Theme"/>
> <script type ="text/javascript">
>        $(document).ready(function() {
>                $("#dialog").dialog();
>        });
> </script>
> </head>
> <body>
> <div id = "dialog">
> Hello world
> </div>
> </body>
> </html>
>
> Thanks all!
> --
> View this message in context:
> http://www.nabble.com/Bad-Dialog-design-tp19788465s27240p19788465.html
> Sent from the jQuery UI Discussion mailing list archive at Nabble.com.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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