static.scripts.processing.js Maven / Gradle / Ivy
(function($) {
$.fn.progressDialog = function() {
};
$.fn.progressDialog.showDialog = function(text) {
text = text || "Loading,Please wait..."
if (!processMask) {
processMask = $("").css({
"height" : $(document).height() + "px",
"width" : "100%",
"filter" : "alpha(opacity = 40)",
"-moz-opacity" : "0.4",
"opacity" : "0.4",
"background-color" : "#333",
"position" : "absolute",
"left" : "0px",
"top" : "0px"
});
}
if (!loadDiv) {
loadDiv = $(""
+ text
+ "");
}
$("body").prepend(loadDiv).append(processMask);
}
$.fn.progressDialog.hideDialog = function(text) {
$("#processMask").remove();
$("#loadDiv").remove();
}
var processMask;
var loadDiv;
var width = 290;
var Height = 60;
})(jQuery);
© 2015 - 2025 Weber Informatics LLC | Privacy Policy