- <script>
- // increase the default animation speed to exaggerate the effect
- $.fx.speeds._default = 1000;
- $(function() {
- $( "#dialog" ).dialog({
- autoOpen: false,
- show: "blind",
- hide: "explode",
- modal: true,
- resizable: false,
- title: "Dialog Title",
- position: {
- my: "center top-400",
- at: "center",
- of: window
- }
- });
- $( "#opener" ).click(function() {
- $( "#dialog" ).dialog( "open" );
- return false;]
- });
- });
- </script>
does position not work in IE9?