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

后端 未结 9 1677
独厮守ぢ
独厮守ぢ 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:30

    var overlay = $('
    ').hide().appendTo($('body')); $(overlay).width('100%'); $(overlay).height('100%'); $(overlay).fadeIn();

提交回复
热议问题