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 = $(\'
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'); } ,