|
Zoom fade & smoothing
Buy now Get support
Fast fade-in (200ms), minimal smoothing (60)
Slow fade-in (1000ms), more smoothing (10)
Here's the code:
<html>
<head>
<title>Magic Zoom Plus: Zoom fade & smoothing</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>
<p>Fast fade-in (200ms), minimal smoothing (60)</p>
<a href="images/harley1c.jpg" class="MagicZoomPlus" rel="zoom-fade: true; zoom-fade-in-speed: 200; smoothing-speed: 80" title="Fast fade-in (200ms), minimal smoothing (60)"><img src="images/harley1b.jpg"/></a>
<p>Slow fade-in (1000ms), more smoothing (10)</p>
<a href="images/harley1c.jpg" class="MagicZoomPlus" rel="zoom-fade: true; zoom-fade-in-speed: 1000; zoom-fade-out-speed: 500; smoothing-speed: 10" title="Slow fade-in (1000ms), more smoothing (10)"><img src="images/harley1b.jpg"/></a>
</body>
</html>
|