bootstrap static modal
来源:互联网 发布:动态网站用哪个数据库 编辑:程序博客网 时间:2024/06/07 14:01
modal 显示后,点击空白处不去 hide modal
<!DOCTYPE html><html lang="en"> <head> <title> modal </title> <meta charset="utf-8"> <link rel="stylesheet" href="css/bootstrap.min.css"> <script src="js/jquery.min.js"></script> <script src="js/bootstrap.min.js"></script> </head><body> <div class="container"> <!-- Modal --> <div class="modal fade" id="staticModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h4 class="modal-title" id="myModalLabel">Modal title</h4> </div> <div class="modal-body"> {backdrop:"static"} </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div> </div> </div> <button id="btn-static-modal" class="btn btn-primary" value="clickevent">backdropStatic</button> </div> <script> $(document).ready(function(){ $('#btn-static-modal').click(function(){ $('#staticModal').modal({backdrop:'static'}).modal('show'); }); }); </script></body></html>
0 0
- bootstrap static modal
- Bootstrap modal
- Bootstrap-Modal
- BootStrap Modal
- bootstrap modal
- modal (Bootstrap)
- 【bootstrap】 bootstrap-modal: 点击遮罩层不关闭modal
- bootstrap modal弹出框
- Bootstrap迁移系列 - Modal
- bootstrap modal使用方法
- BootStrap Modal Create
- bootstrap modal 一闪
- bootstrap modal 居中
- bootstrap modal 弹窗
- bootstrap modal垂直居中
- bootstrap modal 弹出失效
- bootstrap modal居中
- bootstrap modal 垂直居中
- iOS 学习笔记 - App 的启动过程(无Storyboard)
- eclispe配置maven
- JDOM解析
- hihoCoder #1174:拓扑排序·一
- psl/sql本地与远程连接配置
- bootstrap static modal
- Linux伙伴算法
- eclipse Maven配置及开发
- 【搬运-兄弟别怪我】两分钟彻底让你明白Android Activity生命周期(图文)!
- Android 官方命令深入分析之Android Debug Bridge(adb)
- Objective-C 基础
- CentOS 7 SSH相关使用问题及其解决办法
- Webstorm & PhpStorm的序列号和证书
- vc6 字体设置