Talk:UI/Dialog
From jQuery JavaScript Library
Contents |
Behavioral Errors in Firefox 2.0.0.8
Opening multiple dialog boxes results in only being able to close the last dialog opened (with the close button [X]). The rest remain open and are draggable but their close buttons no longer work.
Demo Link Broken
The link to http://dev.jquery.com/view/trunk/plugins/ui/tests/dialog.html on this page is broken; Apache returns a 404 error.
Modal in IE
For working Modal mode of dialog in IE (version < 7) you must additional include file jquery.bgiframe.js And set initial parameter bgiframe to true Example:
$(document).ready(function(){
$("#test_div").dialog({
modal: true,
autoOpen: false,
bgiframe: true
});
});
P.S. in IE presented one small problem: in modal mode when dialog opened we have small extra areas (right and bottom). This areas comes from calculating height and width of screen => overlay. In IE right scrollbar presented by default, that's why initial width of overlay calculates no right.
Dialog completely busted in latest beta
Dialog is completely busted in the latest beta checkpoint for UI. After applying the patch described in: Ticket #2826 (closed bug: fixed) it's still busted. More javascript errors... So instead of hunting down every fixes made and applying the patches one by one I decided to download the latest nightly build...
Well the dialog now works partially. I can create the dialog but it's not draggable anymore. I tried using the demo/test code that came with the nightly build and it has the same problem. I tested on Firefox and IE7.