一个轻量级的jquery弹出层插件,增强引导的弹出插件和一些很棒的新特性。调用方法$('a').webuiPopover(options);创建简单的$('a').webuiPopover({title:'Title',content:'Content'});创建dom元素data-* attribute$('a').webuiPopover();创建底部放置$('a').webuiPopover({title:'Title',content:'Content',placement:'bottom'});创建漂亮的鼠标悬停$('a').webuiPopover({title:'Title',content:'Content',trigger:'hover'});创建倒的样式$('a').webuiPopover({title:'Title',content:'Content',style:'inverse'});创建固定宽度和高度$('a').webuiPopover({title:'Title',content:'Content',width:300,height:200});创建带关闭按钮$('a').webuiPopover({title:'Title',content:'Content',closable:true});创建iframe的$('a').webuiPopover({type:'iframe',url:'http://jqueryfuns.com'});默认选项{ placement:'auto',//值: auto,top,right,bottom,left,top-right,top-left,bottom-right,bottom-left width:'auto',//可以设置数字 height:'auto',//可以设置数字 trigger:'click',//值:click,hover style:'',//值:'',inverse delay:300,//延迟时间, 悬浮属性才执行 cache:true,//如果缓存设置为false,将重建 multi:false,//在页面允许其他弹出层 arrow:true,//是否显示箭头 title:'',//标题,如果标题设置为空字符串时,标题栏会自动隐藏 content:'',//内容,内容可以是函数 closeable:false,//显示关闭按钮 padding:true,//内容填充 type:'html',//内容类型, 值:'html','iframe','async' url:''//如果不是空的,插件将通过url加载内容}
文件目录······
暂无数据
猜你喜欢
更多»
项目推荐
更多»
PDF电子书
更多»
Java多线程编程核心技术
(2)
Linux命令详解词典.pdf
(5)
深入Python3中文版
(0)
百度SEO一本通.pdf
(0)
mysql必知必会.pdf
(2)
疯狂JAVA讲义 pdf电子书
(3)
C# 图解教程pdf电子书
(3)
研磨设计模式 pdf电子书
(0)