Zoom or Expand

Buy now Get support

Zoom image. Expand is disabled.

Expand image. Zoom is disabled.

Disable both effects to just swap images.


Here's the code:

  1. <html>
  2.     <head>
  3.         <title>Magic Zoom Plus: Zoom or Expand</title>
  4.        
  5.         <!-- link to magiczoomplus.css file -->
  6.         <link href="magiczoomplus/magiczoomplus.css" rel="stylesheet" type="text/css" media="screen"/>
  7.         <!-- link to magiczoomplus.js file -->
  8.         <script src="magiczoomplus/magiczoomplus.js" type="text/javascript"></script>
  9.        
  10.     </head>
  11.     <body>
  12.        
  13.        
  14.         <p><a name="zoom-only">Zoom image. Expand is disabled.</a></p>
  15.         <a href="images/harley1c.jpg" rel="disable-expand: true; hint-text: Zoom;" class="MagicZoomPlus"><img src="images/harley1b.jpg"/></a>
  16.  
  17.         <p class="pad"><a name="expand-only">Expand image. Zoom is disabled.</a></p>
  18.         <a href="images/harley1c.jpg" rel="disable-zoom: true; hint-text: Expand;" class="MagicZoomPlus"><img src="images/harley1b.jpg"/></a>
  19.        
  20.         <p class="pad"><a name="swap-only">Disable both effects to just swap images.</a></p>
  21.         <a id="Zoomer" href="images/harley1c.jpg" class="MagicZoomPlus" rel="disable-zoom: true; disable-expand: true;" title="Harley-Davidson Dyna Wide Glide"><img src="images/harley1b.jpg"/></a> <br/>
  22.  
  23.         <a href="images/harley1c.jpg" rel="zoom-id: Zoomer" rev="images/harley1b.jpg"><img src="images/harley1a.jpg"/></a>
  24.         <a href="images/harley2c.jpg" rel="zoom-id: Zoomer" rev="images/harley2b.jpg"><img src="images/harley2a.jpg"/></a>
  25.  
  26.        
  27.     </body>
  28. </html>