<html>
<head>
<title>Background</title>
<!-- link to magicthumb.css file -->
<link href="magicthumb/magicthumb.css" rel="stylesheet" type="text/css" media="screen"/>
<!-- link to magicthumb.js file -->
<script src="magicthumb/magicthumb.js" type="text/javascript"></script>
</head>
<body>
<h4>Make the image stand out more by adding a background behind it.</h4>
<p>
<!-- define Magic Thumb with a black background with 60% opacity -->
<a href="images/imac-family-600.jpg" class="MagicThumb" rel="background-color:#000; background-opacity:60"><img src="images/imac-family-50.jpg" alt=""/><span>This has a black background with 60% opacity.</span></a>
</p>
<p>
<!-- define Magic Thumb with a white background with 60% opacity -->
<a href="images/imac-family-600.jpg" class="MagicThumb" rel="background-color:#fff; background-opacity:100"><img src="images/imac-family-50.jpg" alt=""/><span>This has a white background with 100% opacity.</span></a>
</p>
<p>
<!-- define Magic Thumb with a blue background with 50% opacity which fades in over 1 second (instead of 0.2 seconds) -->
<a href="images/imac-family-600.jpg" class="MagicThumb" rel="background-color:#686AA2; background-opacity:60; background-speed:1000"><img src="images/imac-family-50.jpg" alt=""/><span>This has a blue background with 50% opacity which fades in over 1 second (instead of 0.2 seconds).</span></a>
</p>
</body>
</html>