|
Pan zoom
Buy now Get support
If the large image is larger than the screen, it will be scaled down to fit and can be pan/zoomed.
Expand image then zoom.
Expand image, no pan zoom.
Here's the code:
<html>
<head>
<title>Magic Zoom Plus: Pan zoom</title>
<!-- link to magiczoomplus.css file -->
<link href="magiczoomplus/magiczoomplus.css" rel="stylesheet" type="text/css" media="screen"/>
<!-- link to magiczoomplus.js file -->
<script src="magiczoomplus/magiczoomplus.js" type="text/javascript"></script>
</head>
<body>
<h4>If the large image is larger than the screen, it will be scaled down to fit and can be pan/zoomed.</h4>
<p>Expand image then zoom.</p>
<a href="images/harley1c.jpg" class="MagicZoomPlus" rel="disable-zoom: true; expand-size: width=480px; group: panzoom;" title="Harley-Davidson Dyna Wide Glide"><img src="images/harley1b.jpg"/></a> <br/>
<p>Expand image, no pan zoom.</p>
<a href="images/harley1c.jpg" class="MagicZoomPlus" rel="disable-zoom: true; expand-size: width=480px; group: no-panzoom; pan-zoom: false;" title="Harley-Davidson Dyna Wide Glide"><img src="images/harley1b.jpg"/></a> <br/>
</body>
</html>
|