Fade in overlay in modal dialog

后端 未结 8 2365
情书的邮戳
情书的邮戳 2021-02-07 05:11

I have a JQuery UI dialog which is modal and has a black background with 50% opacity. Is it possible to make the background opacity fade from 0% to 50%? If so, how? Because c

8条回答
  •  名媛妹妹
    2021-02-07 05:24

    $('.ui-widget-overlay').hide().fadeIn();
    

    This effect has issue on IE as the opacity won't work after fade in

提交回复
热议问题