Zoom or Expand

joesnet mobilejoe

Click and drag to move the zoom. Expand is disabled.

Expand image. Zoom is disabled

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>Click and drag to move the zoom. Expand is disabled.</p>
  15.         <!-- define Magic Zoom Plus with drag mode, zoom-width and set starting position on the front wheel. This image will not expand on click. -->
  16.         <a href="images/harley1c.jpg" rel="disable-expand: true" class="MagicZoomPlus"><img src="images/harley1b.jpg"/></a>
  17.  
  18.         <p>Expand image. Zoom is disabled</p>
  19.         <!-- define Magic Zoom Plus with only expand function. No zoom window on mouseover. -->
  20.         <a href="images/harley1c.jpg" rel="disable-zoom: true;" class="MagicZoomPlus"><img src="images/harley1b.jpg"/></a>
  21.  
  22.        
  23.     </body>
  24. </html>