|
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: Zoom fade/smoothing</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>Fast fade-in (200ms), minimal smoothing (60)</p>
<a href="images/r1-red-3.jpg" class="MagicZoom" rel="zoom-fade: true; zoom-fade-in-speed: 200; smoothing-speed: 80" title="Fast fade-in (200ms), minimal smoothing (60)"><img src="images/r1-red-2.jpg"/></a>
<p>Slow fade-in (1000ms), more smoothing (10)</p>
<a href="images/r1-red-3.jpg" class="MagicZoom" 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/r1-red-2.jpg"/></a>
</body>
</html>
|