zoukankan      html  css  js  c++  java
  • jQuery图片展示插件Galleria

    主页:http://galleria.aino.se/

    下载

    使用非常简单,下面是例子:

    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <script type="text/javascript" src="jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="aino-galleria-84fe808/src/galleria.js"></script>
    <style type="text/css">
      #images{500px; height:400px;margin:20px auto}
    </style>
    <script type="text/javascript">
      $(function(){
        Galleria.loadTheme('aino-galleria-84fe808/src/themes/classic/galleria.classic.js');
            $('#images').galleria({
               image_crop:true,
               transition: 'fade',
            });
      });
    </script>
    </head>
    <body>
     
    <div id="images">
       <img src="1.jpg">
       <img src="2.jpg">
       <img src="3.jpg">
       <img src="4.jpg">
       <img src="5.jpg">
       <img src="6.jpg">
       <img src="7.jpg">
       <img src="8.jpg">
    </div>

    </body>
    </html>

  • 相关阅读:
    day09 文件操作
    深信服二面
    test1
    视频测试
    通过独立按键控制LED灯
    第一个LED灯
    为什么我的递归调用次数和书上的不一样?
    函数指针数组
    虚拟内存
    单元测试
  • 原文地址:https://www.cnblogs.com/gdjlc/p/2086902.html
Copyright © 2011-2022 走看看