jQuery插件--仿facebook样式的模态框.
2009-06-03 19:51
363 查看
演示:
http://www.ajaxplaza.net/jmodal/jmodal.htm
下载:
http://code.google.com/p/jmodal/
API:
data(Object): the data u'll post to modaldialog.
buttonText(String): button text.
okEvent(Function): button event.
initWidth(Interger): the init width of modaldialog.
title(String): title of modaldialog.
content(String): content of the modaldialog(u can use html tags).
overlayCss(Object): the css of overlay.
jmodalbgCss(Object): the css of modaldialog background(used to generate shadow).
jmodalCss(Object): the css of modaldialog.
closeCss(Object): the css of close anchor.
titleCss(Object): the css of title.
contentCss(Object):the css of content.
bottomCss(Object): the css of modaldialog bottom.
buttonCss(Object): the css of ok button.
$.fn.jmodal({ title: 'Information',
content: 'Hi,you displayed me?',
buttonText: 'Yes,It\'s me',
okEvent: function(e) {
alert('jmodal\'ll be closed after u click me:-)' );
}
});
http://www.ajaxplaza.net/jmodal/jmodal.htm
下载:
http://code.google.com/p/jmodal/
API:
data(Object): the data u'll post to modaldialog.
buttonText(String): button text.
okEvent(Function): button event.
initWidth(Interger): the init width of modaldialog.
title(String): title of modaldialog.
content(String): content of the modaldialog(u can use html tags).
overlayCss(Object): the css of overlay.
jmodalbgCss(Object): the css of modaldialog background(used to generate shadow).
jmodalCss(Object): the css of modaldialog.
closeCss(Object): the css of close anchor.
titleCss(Object): the css of title.
contentCss(Object):the css of content.
bottomCss(Object): the css of modaldialog bottom.
buttonCss(Object): the css of ok button.
$.fn.jmodal({ title: 'Information',
content: 'Hi,you displayed me?',
buttonText: 'Yes,It\'s me',
okEvent: function(e) {
alert('jmodal\'ll be closed after u click me:-)' );
}
});
相关文章推荐
- jQuery插件之Facebook风格模态框
- jquery幻灯片插件bxslider样式改进实例
- KinSlideshow jQuery 多样式图片幻灯片插件
- jQuery自定义滚动条样式插件mCustomScrollbar
- 自定义jquery模态窗口插件无法在顶层窗口显示问题
- iziModal-时尚炫酷的jQuery模态窗口插件
- JQuery扩展插件Validate—4设置错误提示的样式
- jQuery 自定义网页滚动条样式插件 mCustomScrollbar 的介绍和使用方法
- 基于jquery创建的一个图片、视频缓冲的效果样式插件
- JBox - 模态窗口,工具提示和消息 jQuery 插件
- jquery封装了一个简洁轻巧的可拖动可自定义样式的纯div+css带遮罩层的仿模态弹出框
- 令人印象深刻的 jQuery 模态框插件 – iLightBox
- jquery响应式模态窗口插件jquery.edbox
- 仿jquery dialog样式,兼容IE,的拖拽dialog jquery插件实现
- 【jQuery.nyroModal】超强JQuery模态对话框插件
- 扩展Jquery插件处理mouseover时内部有子元素时发生样式闪烁
- Pop Easy – 轻松实现模态窗口的 jQuery 插件
- 好用的JQuery插件Easy Slider(图片滚动,多样式设置)
- jquery创建一个图片、视频缓冲的效果样式插件
- jquery 仿模态对话框插件