The dialog creation is:
$(document).ready(function () {
$(".jym").dialog({
autoOpen: false,
modal: true,
draggable: false,
resizable: false,
closeOnEscape: false,
height: 100,
width: 100,
open: function () {
$('.ui-dialog').css("font-size", "14px");
},
show: 'puff'
});
});
Now the font-size of the dialog window is taking the default font-size of the page which is 17.5px. But if I remove the show then it is taking 14px.
What I am doing wrong?
I am using jQuery UI 1.8.18 and jQuery 1.7.1. If I use slide, blind, explode, clip, drop, fade, effect instead of puff then it is working. Also with scale it is not working.