基于jQuery的简单消息框MsgBox插件
该项目源代码可通过https://github.com/oxcow/MsgBox.git获取
jQuery MsgBox Plugin 提供四个插件方法:jmask?遮罩层junmask?关闭遮罩层jalert?基于div的消息提醒框jconfirm?基于div的消息确认框
optionsmsg消息框显示的消息容optionstitlestring'消息框'消息框标题widthint320消息框宽heightint240消息框高maskbooleantrue是否需要遮罩层maskcolorstring'rgba(165, 165, 165, 0.8)'遮罩层背景色。
当mask为true时有效Example:
msg消息框显示的消息容url消息确认后的跳转地址。使用window.local.href跳转optionstitlestring'消息框'消息框标题widthint320消息框宽heightint240消息框高maskbooleantrue是否需要遮罩层maskcolorstring'rgba(165, 165, 165, 0.8)'遮罩层背景色。
当mask为true时有效Example:
jmask?遮罩层junmask?关闭遮罩层jalert?基于div的消息提醒框jconfirm?基于div的消息确认框optionsmsg消息框显示的消息容optionstitlestring'消息框'消息框标题widthint320消息框宽heightint240消息框高maskbooleantrue是否需要遮罩层maskcolorstring'rgba(165, 165, 165, 0.8)'遮罩层背景色。
当mask为true时有效Example:
msg消息框显示的消息容url消息确认后的跳转地址。使用window.local.href跳转optionstitlestring'消息框'消息框标题widthint320消息框宽heightint240消息框高maskbooleantrue是否需要遮罩层maskcolorstring'rgba(165, 165, 165, 0.8)'遮罩层背景色。
当mask为true时有效Example: