Hi,

 

I'm trying to fade in and fade out the dialog and overlay.

 

I've no problem with the fading out but the fading in doesn't seem to work
as expected.

 

I have no problem fading in the dialog but for some reason the overlay just
refuses to work.

 

My code below:

 

var open=function(hash){ 

    hash.w.fadeIn(1000);

    hash.o.fadeIn(1000);

};

 

var close=function(hash) { 

    hash.w.fadeOut(1000);

    hash.o.fadeOut(1000,function(){ hash.o.remove(); }); };

 

$('#dlg').jqm({

    onShow: open,

    onHide: close

});        

 

Can anyone help?

 

Thanks.

 

Reply via email to