本文实例为大家分享了bootstrap模态框远程的具体代码,供大家参考,具体内容如下
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <title>XXX</title> <link rel="stylesheet" href="lib/bootstrap/css/bootstrap.css"> <link rel="stylesheet" href="css/main.css"> <!--[if lt IE 9]> <script src="lib/html5shiv/html5shiv.min.js"></script> <script src="lib/respond/respond.min.js"></script> <![endif]--> </head> <body> <!--通过按钮可以加载模态框内容,一定要加上头部和底部--> <div class="modal-header"> <!--关闭按钮--> <button class="close" data-dismiss="modal"><!--可以关闭模态框--> <span>×</span> </button> <!--头部标题--> <h4 class="modal-title">远程登录</h4> </div> <div class="modal-body"> <!--<p>暂时无法注册</p>--> <div class="container-fluid"><!--在模态框主体部分还可以加入流体的栅格系统,一定是流体--> <div class="row"> <div class="col-lg-4 col-md-4 col-sm-6">haha</div> <div class="col-lg-4 col-md-4 col-sm-6">hehe</div> <div class="col-lg-4 col-md-4 col-sm-6">heihei</div> </div> </div> </div> <div class="modal-footer"> <button class="btn btn-default">远程</button> <button class="btn btn-primary">远程</button> </div> <script src="lib/jquery/jquery.js"></script> <script src="lib/bootstrap/js/bootstrap.js"></script> <script src="js/main.js"></script> </body> </html> 示例代码中只实现了插入和查询功能
本文章地址http://www.vzeo.com/news/xuetang/800851.html 由 友站网 编辑整理,转载请注明出处