码迷,mamicode.com
首页 > 其他好文 > 详细

bootstrap modal模态框的运用

时间:2017-04-09 18:01:33      阅读:159      评论:0      收藏:0      [点我收藏+]

标签:htm   toggle   com   strong   .com   class   syntax   number   tran   

http://www.ziqiangxuetang.com/bootstrap/bootstrap-modal-plugin.html

方法

下面是一些可与 modal() 一起使用的有用的方法。

方法描述实例
Options: .modal(options) 把内容作为模态框激活。接受一个可选的选项对象。
1
2
3
$(‘#identifier‘).modal({
keyboard: false
})
Toggle: .modal(‘toggle‘) 手动切换模态框。
1
$(‘#identifier‘).modal(‘toggle‘)
Show: .modal(‘show‘) 手动打开模态框。
1
$(‘#identifier‘).modal(‘show‘)
Hide: .modal(‘hide‘) 手动隐藏模态框。
1
$(‘#identifier‘).modal(‘hide‘)

bootstrap modal模态框的运用

标签:htm   toggle   com   strong   .com   class   syntax   number   tran   

原文地址:http://www.cnblogs.com/as3lib/p/6685661.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!