This is fixed in rc5.
On Jan 16, 2:35 pm, Fontzter <[email protected]> wrote:
> Strange...I'm having a similar problem. I get the alternating height
> in FF. However, I am not getting errors in IE.
>
> Have you resolved it?
>
> On Jan 15, 10:38 pm, Chris <[email protected]> wrote:
>
> > Hello,
>
> > If I set the height or the height option of the dialog, and open the
> > dialog via a link, close the dialog, then try to re-open in IE it
> > throws an error each time i try to re-open... In firefox, no error
> > but the 2nd time the hieght is wrong, the 3rd time the hieght is
> > correct, the 4th hieght is wrong, 5 correct and so on...
>
> > here is the code to produce the error:
> > <!doctype html>
> > <html lang="en">
> > <head>
> > <title>test</title>
> > <link type="text/css" href="../../themes/default/ui.all.css"
> > rel="stylesheet" />
> > <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
> > <script type="text/javascript" src="../../ui/jquery.ui.all.js"></
> > script>
> > <script type="text/javascript" src="../../plugins/bgiframe_2.1.1/
> > jquery.bgiframe.js"></script>
> > <script type="text/javascript">
> > $(function() {
> > $("#dialog").dialog({
> > autoOpen: false,
> > bgiframe: true,
> > height:140
> > });
> > });
> > </script>
> > </head>
> > <body>
> > <a href="javascript:void(0);" onClick="$('#dialog').dialog
> > ('open')">Open Dialog</a>
>
> > <div id="dialog" title="test dialog">
> > <p>This is the default dialog which is useful for displaying
> > information. The dialog window can be moved, resized and closed with
> > the 'x' icon.</p>
> > </div>
> > </body>
> > </html>
>
> > simply change to:
> > $("#dialog").dialog({
> > autoOpen: false,
> > bgiframe: true,
> > });
>
> > and can open and close as many times as i want no errors in either
> > browser... Also settting the width option does not create the error,
> > so something with the height option is off...
>
> > Thanks
> > Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---