页面小知识遮罩层

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

 

  
  
  
  
  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==============
<div class="editForm" style="display: none; cursor: default">
....................
</div>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(职场,页面,休闲,页面小知识遮罩层)