gpt4 book ai didi

javascript - Thickbox 关闭按钮在每次点击后增加

转载 作者:行者123 更新时间:2023-11-28 12:27:34 26 4
gpt4 key购买 nike

我在我的网站上使用 Thickbox,当我使用这段代码时 Thickbox 关闭按钮重复并增加我使用以下代码调用 Thickbox。

<div class="btnone2"><a href="signin.htm?placeValuesBeforeTB_=savedValues&TB_iframe=true&height=560&width=470 allowtransparency=true" class="thickbox req" >Already a client? Sign In</a></div>

enter image description here

当我再次按下时

enter image description here

它会一次又一次地增加关闭按钮的数量

最佳答案

thickbox.js 和 thickbox.css 在页面中包含了两次。这就是我的问题发生的原因。我删除了这个重复,你的问题就会解决。

关于javascript - Thickbox 关闭按钮在每次点击后增加,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18438882/

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