<html>
<head>
<title>Magic Zoom: Activate/Initialize</title>
<!-- link to magiczoom.css file -->
<link href="magiczoom/magiczoom.css" rel="stylesheet" type="text/css" media="screen"/>
<!-- link to magiczoom.js file -->
<script src="magiczoom/magiczoom.js" type="text/javascript"></script>
</head>
<body>
<p>Use the click-to-activate option to show zoom on click/tap instead of hover.</p>
<!-- define Magic Zoom with click-to-active option -->
<a href="images/r1-blue-3.jpg" class="MagicZoom" rel="click-to-activate: true"><img src="images/r1-blue-2.jpg"/></a>
<p>Use the click-to-deactivate option to hide zoom on click.</p>
<!-- define Magic Zoom with click-to-deactive option -->
<a href="images/r1-blue-3.jpg" class="MagicZoom" rel="click-to-deactivate: true"><img src="images/r1-blue-2.jpg"/></a>
<p><a name="initialize-on-click">Set the initialize-on option to 'click' to download the large image upon click on the main image or additional thumbnails (reduces bandwidth usage, but slows the user experience).</a></p>
<!-- define Magic Zoom with the initialization on click -->
<a id="zoom3" href="images/r1-red-3.jpg" class="MagicZoom" rel="initialize-on: click"><img src="images/r1-red-2.jpg"/></a>
<p style="margin-top: 20px;">
<a href="images/r1-red-3.jpg" rel="zoom-id: zoom3" rev="images/r1-red-2.jpg" title="White Yahama YZF-R1"><img src="images/r1-red-1.jpg"/></a>
<a href="images/r1-black-3.jpg" rel="zoom-id: zoom3" rev="images/r1-black-2.jpg" title="Black Yamaha YZF-R1"><img src="images/r1-black-1.jpg"/></a>
<a href="images/r1-blue-3.jpg" rel="zoom-id: zoom3" rev="images/r1-blue-2.jpg" title="Blue Yamaha YZF-r1"><img src="images/r1-blue-1.jpg"/></a>
</p>
<p>Use the initialize-on option to 'mouseover' to download the image upon first mouseover (also to reduce bandwidth).</p>
<!-- define Magic Zoom with the initialization on mouse over -->
<a href="images/r1-black-3.jpg" class="MagicZoom" rel="initialize-on: mouseover"><img src="images/r1-black-2.jpg"/></a>
</body>
</html>