jQuery UI: How to use ui-widget-overlay by itself?

后端 未结 9 1679
独厮守ぢ
独厮守ぢ 2020-12-12 23:13

I am trying to create an overlay, similar to the one that jQuery UI Dialog uses. I can create the overlay like this:

var $overlay = $(\'
9条回答
  •  一个人的身影
    2020-12-12 23:36

    I know this is too late to give answer for this question but simpler way to add this two function

    open: function() {
         $('.ui-widget-overlay').css('position', 'fixed');
          },
    close: function() {
          $('.ui-widget-overlay').css('position', 'absolute');   
          } ,
    

提交回复
热议问题