BootStrap3中模态对话框的使用

2019-11-26,

1.引入jQuery.min.js;

2.引入bootstrap-modal.js;

3.操作按钮:<a href="#edit" data-toggle="modal">修改</a>

4.模态框

<div class="modal fade" id="edit">
    <div class="modal-dialog ">
      <div class="modal-content">
        <div class="modal-header">
<h3 class="modal-title">头标题</h3>   
            <a class="close" data-dismiss="modal">
              <span>关闭</span>
            </a>
        </div>
        <div class="modal-body">
          内容
        </div>
        <div class="modal-footer">
  <!--脚-->
          <a class="btn btn-default " data-dismiss="modal">关闭</a>
        </div>
      </div>
    </div>
  </div>

以上所述是小编给大家介绍的BootStrap3中模态对话框的使用,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对北冥有鱼网站的支持!

您可能感兴趣的文章:

  • 封装的dialog插件 基于bootstrap模态对话框的简单扩展
  • Bootstrap 模态对话框只加载一次 remote 数据的完美解决办法
  • Bootstrap模态对话框的简单使用
  • Bootstrap3 多个模态对话框无法显示的解决方案
  • Bootstrap基本插件学习笔记之模态对话框(16)
  • 基于Bootstrap模态对话框只加载一次 remote 数据的解决方法
  • Bootstrap模态对话框中显示动态内容的方法
  • Bootstrap模态对话框用法简单示例

《BootStrap3中模态对话框的使用.doc》

下载本文的Word格式文档,以方便收藏与打印。