In the latest revision of jQuery UI was eliminated the option shadow which allowed to eliminate the shadow around the dialog. The option, strangely, still plays its role but, in contrast, produces a Javascript error and prevents the movement of a dialogue:
1 2 3 4 5 | / / The shadow disappears but the dialogue can not move ) . dialog ( { $ ('# MyDialog'). Dialog ({ , title: "Try Shadow" Shadow: false } |
One possible solution is:
1 2 3 4 5 | / / Works with jQuery UI 1.6rc6 ) . dialog ( { $ ('# MyDialog'). Dialog ({ , title: "Try Shadow" function ( ) { $ ( '.ui-widget-shadow' ) . css ( 'display' , 'none' ) ; } open: function () {$ ('. ui-widget-shadow'). css ('display', 'none');} } |










There are no comments for this post
Leave a comment