Custom zoom position

joesnet mobilejoe

The zoom window can be placed anywhere on your page


Here's the code:

  1. <html>
  2.     <head>
  3.         <title>Magic Zoom Plus: Custom zoom position</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.         <p>The zoom window can be placed anywhere on your page</p>
  14.         <!-- define Magic Zoom Plus -->
  15.         <a href="images/harley1c.jpg" class="MagicZoomPlus" id="zoom" rel="zoom-position: custom; zoom-width: 178px; zoom-height:430px;"><img src="images/harley1b.jpg"/></a><br/>
  16.  
  17.         <div id="zoom-big" style="position: absolute; left: 20px; top: 242px"></div>
  18.        
  19.     </body>
  20. </html>