zoukankan      html  css  js  c++  java
  • jquery特效 ---- 放大镜效果

    使用方法
    1、加载CSS:
    <link href="/styles/cloud-zoom.css" type="text/css" rel="stylesheet" />
    2、加载Javascript:
    <script type="text/JavaScript" src="/js/jquery.1.4.2.min.js"></script>
    <script type="text/JavaScript" src="/js/cloud-zoom.1.0.1.min.js"></script>
    3、HTML代码:
    <a href='/images/zoomengine/bigimage00.jpg' class='cloud-zoom-gallery' title='Thumbnail 1'
            rel="useZoom: 'zoom1', smallImage: '/images/zoomengine/smallimage.jpg' ">
    <img src="/images/zoomengine/tinyimage.jpg" alt = "Thumbnail 1"/></a>
            
    <a href='/images/zoomengine/bigimage01.jpg' class='cloud-zoom-gallery' title='Thumbnail 2'
            rel="useZoom: 'zoom1', smallImage: ' /images/zoomengine/smallimage-1.jpg'">
    <img src="/images/zoomengine/tinyimage-1.jpg" alt = "Thumbnail 2"/></a>                  
            
    <a href='/images/zoomengine/bigimage02.jpg' class='cloud-zoom-gallery' title='Thumbnail 3'
            rel="useZoom: 'zoom1', smallImage: '/images/zoomengine/smallimage-2.jpg' ">
    <img src="/images/zoomengine/tinyimage-2.jpg" alt = "Thumbnail 3"/></a>

  • 相关阅读:
    P1631-序列合并
    P1484-种树
    17.树的子结构(python)
    16.合并两个排序的链表(python)
    反转链表
    链表中倒数第k个节点(python)
    调整数组顺序使奇数位于偶数前面(python)
    Spark--wordcount(词频降序)
    数值的整数次方
    二进制中1的个数(python)
  • 原文地址:https://www.cnblogs.com/liyujun1988/p/4932710.html
Copyright © 2011-2022 走看看