#仿 bootstrap 的 jQuery modal 插件 ##$(selector).modal(options)
配置参数
bgCancel
- 点击背景隐藏,默认 true
bgOpacity
- 背景透明度,默认 .6
contentDuration
- 内容动画时长,默认 250(ms)
bgDuration
- 背景动画时长,默认 150(ms)
slideDistance
- 内容动画的距离,默认 150(px)
modal.js is a jQuery plugin that enables you to create Bootstrap-style, highly customizable modal windows with minimal effort.
#仿 bootstrap 的 jQuery modal 插件 ##$(selector).modal(options)
配置参数
bgCancel
- 点击背景隐藏,默认 true
bgOpacity
- 背景透明度,默认 .6
contentDuration
- 内容动画时长,默认 250(ms)
bgDuration
- 背景动画时长,默认 150(ms)
slideDistance
- 内容动画的距离,默认 150(px)