modalLayer.js是一款漂亮的模态框提示层插件,支持倒计时,确认对话框,弹窗iframe等,不依赖任何框架。
document.querySelector('#msg-button').onclick = function () { let option = { popupTime: 2, hook: { initStart: function () { if (document.querySelector('#modal-layer-container')) ModalLayer.removeAll(); } }, displayProgressBar: true, displayProgressBarPos: 'top', displayProgressBarColor: 'red', content: '点击遮罩层自动消失!', }; ModalLayer.msg(option); }
modalLayer.js模态框提示层插件
正在加载文件目录...
- 热度 86
![](https://imgs.bootstrapmb.com/2023/10/151252148.jpg)
神秘人。下载了 此素材
![](https://imgs.bootstrapmb.com/2024/3/190650242.jpg)
维尔·佛恩特下载了 此素材
![](https://imgs.bootstrapmb.com/2020/12/290138198.jpg)
灼热下载了 此素材
![](https://imgs.bootstrapmb.com/2023/10/151252148.jpg)
神秘人。下载了 此素材
![](https://imgs.bootstrapmb.com/2021/9/060425321.jpg)
码头手艺人下载了 此素材
![](https://imgs.bootstrapmb.com/2020/4/040912004.jpg)
一个人的天下下载了 此素材
![](https://imgs.bootstrapmb.com/2019/9/090139216.jpg)
Amelie下载了 此素材
![](https://imgs.bootstrapmb.com/2022/10/271007241.jpg)
湖畔西风下载了 此素材
![](https://imgs.bootstrapmb.com/2022/6/080202310.jpg)
Fairy收藏了 此素材
![](https://imgs.bootstrapmb.com/2022/8/031027556.jpg)
情缘少珍惜下载了 此素材