/var/www/hkosl.com/lionsclubs/en/magnify_fullpage_img.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Club Listing | Lions Clubs International District 303 - Hong Kong & Macao, China</title>
  
      <style>
      /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */
      /*Some CSS*/
      * {margin: 0; padding: 0;}
      .magnify {width: 100%; margin: 50px auto; position: relative; cursor: none;text-align: center;}

      /*Lets create the magnifying glass*/
      .large {
        width: 175px; height: 175px;
        position: absolute;
        border-radius: 100%;
        
        /*Multiple box shadows to achieve the glass effect*/
        box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.85), 
        0 0 7px 7px rgba(0, 0, 0, 0.25), 
        inset 0 0 40px 2px rgba(0, 0, 0, 0.25);
        
        /*hide the glass by default*/
        display: none;
      }

      /*To solve overlap bug at the edges during magnification*/
      .small { display: block; }
    </style>

<!-- Global site tag (gtag.js) - Google Analytics -->
  <script async src="https://www.googletagmanager.com/gtag/js?id=UA-45123111-29"></script>
  <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'UA-45123111-29');
  </script>
</head>

<body>
  <!-- Lets make a simple image magnifier -->
  <div class="magnify">  
  <!-- This is the magnifying glass which will contain the original/large version -->
  <div class="large"></div>  
  <!-- This is the small image -->
  <img class="small" src="../img/FamilyTree1819.jpg" width="100%"/>
  
</div>
  <script  src="../js/jquery.min.js"></script> 
  <script  src="../js/magnify.js"></script>
</body>

</html>