zoukankan      html  css  js  c++  java
  • jQuery Lightbox图片放大预览

    简介:jQuery Lightbox图片放大预览代码是一款可以在用户点击页面中的小图片时,将该图片的高清版本以Lightbox的方式放大显示在页面的中间,提高用户的体验度。

    效果展示 http://hovertree.com/texiao/jqimg/6/

    效果图如下:



    源码下载:http://hovertree.com/h/bjaf/hdhgnftp.htm


    HTML文件代码:

    <!DOCTYPE html>
    <html lang="zh">
    <head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>jQuery zoomify图片放大预览代码 - 何问起</title>
    <base target="_blank" />
    <link rel="stylesheet" href="http://hovertree.com/texiao/jqimg/6/css/bootstrap-grid.min.css">
    <link rel="stylesheet" href="http://hovertree.com/texiao/jqimg/6/dist/zoomify.min.css">
    <link rel="stylesheet" href="http://hovertree.com/texiao/jqimg/6/css/style.css">
    
    </head>
    <body>
    <div class="container">        
        <div class="examples">    
            <div class="row">
                <div class="example  col-md-12 col-xs-12 ">
                    <p><img src="http://hovertree.com/hvtimg/bjafjd/xusm0re6.jpg" class="img-rounded" alt=""></p>
                </div>
            </div>
            <div class="row">
                <div class="example  col-xs-6 col-md-6">
                    <p><img src="http://hovertree.com/hvtimg/bjafjd/hs6oi257.jpg" class="img-rounded" alt=""></p>
                </div>
                <div class="example col-xs-6 col-md-6">
                    <p><img src="http://hovertree.com/hvtimg/bjafjd/070joeh7.jpg" class="img-rounded" alt=""></p>
                </div>
            </div>
            <div class="row">
                <div class="example col-xs-3 col-md-3">
                    <p><img src="http://hovertree.com/hvtimg/bjafjd/81q15f9j.jpg" class="img-rounded" alt=""></p>
                </div>
                <div class="example col-xs-3 col-md-3">
                    <p><img src="http://hovertree.com/hvtimg/bjafjc/rgevo2ea.jpg" class="img-rounded" alt=""></p>
                </div>
                <div class="example col-xs-3 col-md-3">
                    <p><img src="http://hovertree.com/hvtimg/201511/6j9j6tk5.png" class="img-rounded" alt=""></p>
                </div>
                <div class="example col-xs-3 col-md-3">
                    <p><img src="http://hovertree.com/hvtimg/bjafjf/1lf4d3qj.jpg" class="img-rounded" alt=""></p>
                </div>
            </div>
        </div>    
    </div>
    
    <script src="http://down.hovertree.com/jquery/jquery-2.2.4.min.js" type="text/javascript"></script>
    <script src="http://hovertree.com/texiao/jqimg/6/dist/zoomify.min.js"></script>
    <script type="text/javascript">
        $('.example img').zoomify();
    </script>
    
    <div style="text-align:center;margin:1px 0; font:normal 14px/24px 'MicroSoft YaHei';">
    <p>适用浏览器:FireFox、Chrome、Safari、Opera、Edge、IE11等新版浏览器. 不支持IE8及以下浏览器。</p>
    <p>来源:<a href="http://hovertree.com/" target="_blank">何问起</a> <a href="http://hovertree.com/menu/texiao/">网页特效</a>
    <a href="http://hovertree.com/h/bjaf/yb41c3xl.htm">代码说明</a></p>
    </div>
    </body>
    </html>

    转自:http://hovertree.com/h/bjaf/yb41c3xl.htm

     特效汇总:http://www.cnblogs.com/roucheng/p/texiao.html

  • 相关阅读:
    git add --all
    docker进入数据库
    类里面函数调用
    http状态码
    在 python 中,for … else
    类怎么传参数 初始化函数
    Jmeter安装配置环境---小白看图安装
    冒泡排序
    Fiddler抓包【7】_次要功能和第三方插件
    Fiddler抓包【6】_Fiddler Script
  • 原文地址:https://www.cnblogs.com/roucheng/p/jqueryfangda.html
Copyright © 2011-2022 走看看