jquery弹出层插件Moa Modal
作者:w634381967来源:网络浏览:次时间:2014-07-18 09:43:28我要评论
内容介绍
Moa Modal是一个jquery插件,提供了9种弹出层效果兼容性还可以支持ie6以上版本浏览器.
特点
自定义动画和定位
自定义模态窗口样式,没有预定义的样式表!.
用法
1- HEADER
<!-- include modal plugin right after loading jQuery -->
<script src="jQuery.js" type="text/javascript"></script>
<!-- add easing jquery plugin if you want to use easing option -->
<script src="jquery.easing.1.3.js" type="text/javascript"></script>
<script src="modal.js" type="text/javascript"></script>
2- HTML
<!-- triggering element -->
<button class="viewModal">Click Me</button>
<!-- modal element -->
<div id="modal" style="display:none;width:50%;...">
Your Modal Content with your own styles
</div>
3- Javascript
$(function(){
$('.viewModal').modal({
target : '#modal',
animation : 'top',
position : 'center'
});
});
下载资源:163 次
下载积分:0 分