Html 为特定 DIV 阻止 UI Jquery 插件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6933086/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 09:52:24  来源:igfitidea点击:

Block UI Jquery plugin for a specific DIV

jquery-pluginshtmlblockui

提问by Idan Shechter

Anyone knows a JQuery plugin for BlockUI that allows blocking a specific DIV, not just the whole page. Thanks.

任何人都知道 BlockUI 的 JQuery 插件,它允许阻止特定的 DIV,而不仅仅是整个页面。谢谢。

回答by Mrchief

You can do it thru blockuiplugin

您可以通过blockui插件来完成

回答by Andrew Whitaker

You can do this natively with BlockUI: http://jquery.malsup.com/block/#element

您可以使用 BlockUI 本地完成此操作:http: //jquery.malsup.com/block/#element

$('div.test').block({ message: null })

回答by Soni

$.blockUI({
  message: $("#divid"),

  css: {
    position: 'absolute',
  }
});