Hi sorry I sorted the problem with the dialog, Im not sure how, Im guessing it was just my browsers cache (even though I constantly empty it). But all is working fine now mate. I cant really show u cos its on my dev server on my laptop unfortunatly.
Cheers anyway though mate. On Jan 29, 5:05 am, Scott González <[email protected]> wrote: > The width and height are both expected to be numbers, with no units, > interpreted as pixels. > > Do you have a page that shows the problem you're describing? > > On Jan 26, 6:47 pm, Chippo <[email protected]> wrote: > > > while using rc5, I am having a problem where the first time I open the > > dialog it loads fine, but when I open it the second time, the dialog > > is halfway down the page. With the overlay not covering the whole > > screen. Any idea what this may be? > > Also I cannot seem to set the height using a single way, for the width > > I have to have px on the end, and with the height I cant have it. If I > > dont do it like that, it doesn't even listen to my sizes. > > > On Jan 16, 10:22 pm, Scott González <[email protected]> wrote: > > > > 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 -~----------~----~----~----~------~----~------~--~---
