用的地方不多,简单的小知识

页面小知识遮罩层_第1张图片

页面小知识遮罩层_第2张图片

 

   
   
   
   
  1. <script src="../../../js/jquery.blockUI.js" type="text/javascript">script> 
//=========遮罩层=====================
            $("#test").click(function() {
                $.blockUI({ message: $(".editForm"), css: { width: '600px', "top": ($(window).height() - 200) / 2 + "px","left": ($(window).width() - 600) / 2 + "px"} });
            });
            $("#no").click(function() {
  
                $.unblockUI();
                return false;
            });
            //===============add==============