gpt4 book ai didi

jquery - 即使弹出 jQuery 模式对话框,我的一些网站页面链接仍然有效

转载 作者:太空宇宙 更新时间:2023-11-04 05:06:16 28 4
gpt4 key购买 nike

当 jQuery 对话框弹出时,如何使我网站上的所有链接卡住?我已经完成了 z-index 操作,但似乎没有任何效果。我已经在屏幕截图上清楚地列出了所有内容。链接在这里。 http://wsoplugins.com/wp-content/uploads/2012/04/pluginproblem.png

非常感谢。 -罗恩。

这是代码...

$j(function{
$j('#mystuff').dialog({modal: true, resizable: false, width: 800, height: 250});
});

最佳答案

没有看到你的代码(在这种情况下截图真的不算数),我只能建议:

$('a').click(
function(){
var modal = $(selectorToFindModalDialogue);
if (modal.is(':visible')){
return false;
}
});

JS Fiddle proof-of-concept .

引用资料:

关于jquery - 即使弹出 jQuery 模式对话框,我的一些网站页面链接仍然有效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10372218/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com