Last Updated: February 25, 2016
·
645
· merys

JQuery Tools Overlay

The right way to apply the overlay to objects:

CSS

#dialog{display:none;}

JS

$('#dialog').overlay({
    mask: {
        color: '#cccccc',
        loadSpeed: 200,
        opacity: 0.9
    },
    load: false
});

 $("#dialog").data("overlay").load();