基于jQuery实现3D灯箱插件



70 276 93



特效描述:基于jQuery实现 3D灯箱插件,基于jQuery实现3D灯箱插件

代码结构

1. 引入CSS

<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/app.css?v=405855542" />

2. 引入JS

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>
<script src="js/fliplightbox.min.js?v=405881617"></script>
<script src="js/app.js?v=405875367"></script>

3. HTML代码

        <div class="clear"></div>
        <div class="splash gradient">
            <div class="wrapper">
                <div class="left">
                    <h2>Make a flip lightbox with CSS3</h2>
                    <span>FlipLightBox.js is a responsive jQuery lightbox plugin that is focused on providing fancy 3d flipping effect with css3 and javascript. Main Features include: </span>
                    <ul>
                        <li>3D Flipping Effect with CSS3</li>
                        <li>Support both Image Lightbox and HTML Dialog</li>
                        <li>Image Gallery</li>
                        <li>Responsive jQuery Plugin</li>
                        <li>15+ Options for Customization</li>
                        <li>Support All Modern Browsers (chrome 16+, firefox 12+, safari 5+, opera 12+, and IE10+)</li>
                        <li>Support PC, Mac, iPad, iPhone</li>
                        <li>Keyboard shortcuts for close, navigation left and right</li>
                    </ul>
                </div>
                <div class="right">
                    <div class="splash-gallery">
                        <div class="gallery-item">
                            <a href="images/CharlesRiver2.jpg" title="Charles River @Boston">
                                <img src="images/CharlesRiver2_200X200.jpg" />
                            </a>
                        </div>
                        <div class="gallery-item">
                            <a href="images/CharlesRiver3.jpg" title="Charles River @Boston">
                                <img src="images/CharlesRiver3_200X200.jpg" />
                            </a>
                        </div>
                        <div class="gallery-item small">
                            <a href="images/Fall.jpg" title="Fall @Boston">
                                <img src="images/Fall_140X200.jpg" />
                            </a>
                        </div>
                        <div class="gallery-item">
                            <a href="images/Monterey2.jpg" title="Monterey Bay">
                                <img src="images/Monterey2_200X200.jpg" />
                            </a>
                        </div>
                        <div class="gallery-item small">
                            <a href="images/Monterey.jpg" title="Monterey Bay">
                                <img src="images/Monterey_140X200.jpg" />
                            </a>
                        </div>
                        <div class="gallery-item">
                            <a href="images/CharlesRiver.jpg" title="Charles River @Boston">
                                <img src="images/CharlesRiver_200X200.jpg" />
                            </a>
                        </div>
                    </div>
                    <div class="suggestion">↑ Click an image to see flipLightbox.js in action</div>
                </div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="content wrapper">
            <section id="section-example" class="section">
                <h3>More Examples</h3>
                <div class="example">
                    <h4>Single Image Lightbox</h4>
                    <ul class="example-single example-wrapper">
                        <li>
                            <a href="images/CharlesRiver2.jpg" title="Charles River @Boston">
                                <img src="images/CharlesRiver2_200X200.jpg" />
                            </a>
                        </li>
                        <li>
                            <a href="images/CharlesRiver3.jpg" title="Charles River @Boston">
                                <img src="images/CharlesRiver3_200X200.jpg" />
                            </a>
                        </li>
                        <li class="small">
                            <a href="images/Fall.jpg" title="Fall @Boston">
                                <img src="images/Fall_140X200.jpg" />
                            </a>
                        </li>
                    </ul>
                    <div class="clear"></div>
                </div>
                <div class="example">
                    <h4>Lightbox Gallery</h4>
                    <ul class="example-gallery example-wrapper">
                        <li>
                            <a href="images/Monterey2.jpg" title="Monterey Bay">
                                <img src="images/Monterey2_200X200.jpg" />
                            </a>
                        </li>
                        <li class="small">
                            <a href="images/Monterey.jpg" title="Monterey Bay">
                                <img src="images/Monterey_140X200.jpg" />
                            </a>
                        </li>
                        <li>
                            <a href="images/CharlesRiver.jpg" title="Charles River @Boston">
                                <img src="images/CharlesRiver_200X200.jpg" />
                            </a>
                        </li>
                    </ul>
                    <div class="clear"></div>
                </div>
                <div class="clear"></div>
                <div class="example">
                    <h4>Open / Close events callback</h4>
                    <ul class="example-events example-wrapper">
                        <li>
                            <a href="images/CharlesRiver2.jpg" title="Charles River @Boston">
                                <img src="images/CharlesRiver2_200X200.jpg" />
                            </a>
                        </li>
                        <li>
                            <a href="images/CharlesRiver3.jpg" title="Charles River @Boston">
                                <img src="images/CharlesRiver3_200X200.jpg" />
                            </a>
                        </li>
                        <li class="small">
                            <a href="images/Fall.jpg" title="Fall @Boston">
                                <img src="images/Fall_140X200.jpg" />
                            </a>
                        </li>
                    </ul>
                    <div class="clear"></div>
                </div>
                <div class="example">
                    <h4>Html Dialog and customized close button</h4>
                    <ul class="example-closebutton example-wrapper">
                        <li>
                            <a href="#example-closebutton">
                                <img src="images/Monterey_200X200.jpg" />
                            </a>
                        </li>
                    </ul>
                    <div id="example-closebutton">
                        <img src="images/Monterey.jpg" />
                        <button class="my-closebutton">Close</button>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="clear"></div>
            </section>
        </div>
<div style="text-align:center;clear:both">
</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 导航切换 右键菜单 图片翻转旋转 图片头像上传 缩略图 文字提示框 文字翻转旋转 文件上传 图片相册 图片切换 提示框/弹出层 旋转木马 文本框 图片墙 文字切换 layer 下拉框 百叶窗 背景切换 lightbox 复选 图片网格 手风琴 单选 图片九宫格 Tooltip工具提示框 选项卡自动切换 登录框 浮动提示框 视频切换 注册框 图片高亮 html5弹窗动画 列表切换 搜索框 图片对比 验证码 图片文字 渐隐切换 二级联动 单排图片 全屏切换 三级联动 响应式图片 切换按钮 城市选择 图片列表 缩放切换 value赋值 筛选 按钮控制 购物车 颜色选择 表单提交 全选/反选 添加删除 添加标签 密码强度验证 表单验证 html5按钮动画 按钮样式 密码修改设置 图片拖动 图片放大镜 图片叠加 图片翻转旋转 图片延迟加载 图片淡出淡进 图片全屏 图片头像上传 二维码 滚动切换 滑动选项卡切换 图片广告 图片放大缩小 html5图片动画 带缩略图的幻灯片 地图 图片滚动 图片滑动 图片切换 图片收缩展开 旋转木马 图片轮播 自动滚动图片轮播 图标导航菜单 弹出层拖动 选项卡切换 滑动手风琴 背景切换 窗口提示框 手风琴 转动旋转翻转 切换按钮 form表单 图表 图片 头像截图

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到