Magnifier shape

Buy now  £39 Get support

NOTE: The click to enlarge feature only works when this page is served from localhost or a webserver (view this example online).

Square magnifier.


Circle magnifier.


 

Inner magnifier.


Custom shape magnifier - star.

 

Custom shape magnifier - triangle.

Custom shape magnifier - hexagon.

 
  1. <html>
  2.     <head>
  3.         <title>Magic Magnify Plus: Magnifier shape</title>
  4.        
  5.         <!-- link to magicmagnifyplus.css file -->
  6.         <link rel="stylesheet" href="magicmagnifyplus/magicmagnifyplus.css" type="text/css" media="screen, projection"/>
  7.         <!-- link to magicmagnifyplus/magicmagnifyplus.js file -->
  8.         <script src="magicmagnifyplus/magicmagnifyplus.js" type="text/javascript"></script>
  9.        
  10.     </head>
  11.     <body>
  12.        
  13.         <p class="note">NOTE: The click to enlarge feature only works when this page is served from localhost or a webserver (<a href="http://demo.magictoolbox.com/magicmagnifyplus/example3.html">view this example online</a>).</p>
  14.         <div class="w50">
  15.             <p>Square magnifier.</p>
  16.             <a href="images/shoe_large.jpg" class="MagicMagnifyPlus" rel="magnifier:square;"><img src="images/shoe_small.jpg"/></a><br/>
  17.         </div>
  18.         <div class="w50">
  19.             <p>Circle magnifier.</p>
  20.             <a href="images/shoe_large1.jpg" class="MagicMagnifyPlus" rel="magnifier:circle;"><img src="images/shoe_small1.jpg"/></a><br/>
  21.         </div>
  22.         <div class="clear">&nbsp;</div>
  23.         <div class="w50">
  24.             <p>Inner magnifier.</p>
  25.             <a href="images/shoe_large2.jpg" class="MagicMagnifyPlus" rel="magnifier:inner;"><img src="images/shoe_small2.jpg"/></a><br/>
  26.         </div>
  27.         <div class="w50">
  28.             <p>Custom shape magnifier - star.</p>
  29.             <a href="images/shoe_large.jpg" class="MagicMagnifyPlus" rel="magnifier:custom(0,0,25,75,105,75,40,120,65,200,0,150,-65,200,-40,120,-100,75,-40,75);"><img src="images/shoe_small.jpg"/></a>
  30.         </div>
  31.         <div class="clear">&nbsp;</div>
  32.         <div class="w50">
  33.             <p>Custom shape magnifier - triangle.</p>
  34.             <a href="images/shoe_large1.jpg" class="MagicMagnifyPlus" rel="magnifier:custom(0,0,75,150,-75,150);"><img src="images/shoe_small1.jpg"/></a>
  35.         </div>
  36.         <div class="w50">
  37.             <p>Custom shape magnifier - hexagon.</p>
  38.             <a href="images/shoe_large2.jpg" class="MagicMagnifyPlus" rel="magnifier:custom(0,0,90,0,130,75,90,150,0,150,-40,75);"><img src="images/shoe_small2.jpg"/></a>
  39.         </div>
  40.         <div class="clear">&nbsp;</div>
  41.        
  42.        
  43.     </body>
  44. </html>