Zoom fade/smoothing

Fade-in your zoom and slow it down (or speed it up).

Here's the code:

  1. <html>
  2.     <head>
  3.         <title>Magic Zoom: Zoom fade/smoothing</title>
  4.        
  5.         <!-- link to magiczoom.css file -->
  6.         <link href="magiczoom.css" rel="stylesheet" type="text/css" media="screen"/>
  7.         <!-- link to magiczoom.js file -->
  8.         <script src="magiczoom.js" type="text/javascript"></script>
  9.        
  10.     </head>
  11.     <body>
  12.        
  13.         <p>Fade-in your zoom and slow it down (or speed it up).</p>
  14.  
  15.         <!-- define Magic Zoom with fade option enabled and change easing value for slow motion -->
  16.         <a href="images/r1-red-3.jpg" class="MagicZoom" rel="zoom-fade:true; smoothing-speed:17" title="Fade in/out effect with slow motion"><img src="images/r1-red-2.jpg"/></a>
  17.        
  18.     </body>
  19. </html>