Opacity options

Opacity reduced to 25%:

Reverse opacity mode:

Here's the code:

  1. <html>
  2.     <head>
  3.         <title>Magic Zoom: Opacity options</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>Opacity reduced to 25%:</p>
  14.         <!-- define Magic Zoom with square opacity of 25% -->
  15.         <a href="images/r1-red-3.jpg" class="MagicZoom" rel="opacity:25; zoom-height:170;"><img src="images/r1-red-2.jpg"/></a>
  16.  
  17.        
  18.         <p>Reverse opacity mode:</p>
  19.         <!-- define Magic Zoom with reverse opacity option enabled -->
  20.         <a href="images/r1-black-3.jpg" class="MagicZoom" rel="opacity-reverse:true; zoom-height:170;"><img src="images/r1-black-2.jpg"/></a>
  21.        
  22.     </body>
  23. </html>