在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:qbox开源软件地址:https://gitee.com/aboc/qbox开源软件介绍:qbox 轻弹窗[^简洁的轻弹窗,轻量,简单,也可以适用于手机哦] #####作者:aboc Email:[email protected] ##轻弹窗的使用说明
<script type="text/javascript" src="js/qbox.js"></script>
var box = new qbox(); 或者 var box = new qbox({title:'一次声明,都有效',themes:'default_min'});
//确认的box.alert("我出来了,点击确定弹出alert",function(d){ if(d){ alert("弹出了一个alert"); } //return true 将会阻止窗口关闭,可以手工调用qbox.hide()关闭窗口 return true; },{ title:'自定义的提示标题' });//确认和取消的box.confirm("确定和取消弹出的提示不一样哦",function(d){ if(d){ alert("yes"); } else { alert("no") } },{ title:'自定义的提示标题' }); 就是这么使用 |
请发表评论