所属分类:弹出层

jquery弹出层pirobox(酷!推荐)

45453 浏览 343 收藏 9 留言
ie兼容6

插件描述

jquery弹出层pirobox可根据图片大小自动缩放,调用非常简单.

更新时间
2015-07-12 20:06
下载量
4557
所需 JQ 币
0
分类
UI / 弹出层

详细内容

jquery弹出层pirobox可根据图片大小自动缩放,调用非常简单.

使用步骤

引用:

<link rel="stylesheet" type="text/css" href="css/sansation/stylesheet.css">
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.2.custom.min.js"></script>
<script type="text/javascript" src="js/pirobox_extended.js"></script>

js

piro_speed :打开速度;
bg_alpha:弹出遮罩背景透明度;

 <script type="text/javascript">
$(document).ready(function() {
    $().piroBox_ext({
    piro_speed : 700,
        bg_alpha : 0.5,
        piro_scroll : true // pirobox always positioned at the center of the page
    });
});
</script>

在要弹出链接 a标签中加入 rel="gallery"  class="pirobox_gall"  

如下

<a href="img/26.jpg" rel="gallery" class="pirobox_gall" title="Curious kitten."> <img src="img/26s.jpg" /> </a>

关键词:jquery弹出层插件pirobox,pirobox,jquery,jquery插件

讨论这个项目 (9)

Fly with me

手机端木有关闭功能与下一张功能,请问怎么解

屉醉
请问pirobox_gall怎么找不到,直接弹到页面
hacker

非常赞

WEB小妞
非常感谢楼上兄弟的反馈!
济公
admin jquery api页面乱码了。
时光小屋
greed 非常感谢您的建议,我会在后面加上,谢谢。
魔界小鸟
头像好评为何不加个表情
WEB小妞
这个弹出效果太帅了。
济公
不错,弹出效果非常好。

当前页面为只读展示,仅显示已审核留言;提交留言功能暂未开放。