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 = $(\'
var overlay = $('').hide().appendTo($('body')); $(overlay).width('100%'); $(overlay).height('100%'); $(overlay).fadeIn();