<html>
<head>
<title>Magic Magnify: Link to URL</title>
<!-- link to magicmagnify/magicmagnify.js file -->
<script src="magicmagnify/magicmagnify.js" type="text/javascript"></script>
</head>
<body>
<p class="note">The second example below must be served from localhost or a webserver <a href="http://demo.magictoolbox.com/magicmagnify/example9.html">example</a>.</p>
<div class="w50">
<p>Click the image to open a link in the same window or a new window.</p>
<a href="images/shoe_large.jpg" class="MagicMagnify" rel="link-url:http://magictoolbox.com; link-window:_blank;"><img src="images/shoe_small.jpg"/></a>
</div>
<div class="w50">
<p>Click the image to execute javascript code.</p>
<a href="images/shoe_large.jpg" class="MagicMagnify" rel="link-url:javascript:alert('test message from js code');"><img src="images/shoe_small.jpg"/></a>
</div>
<div class="clear"> </div>
</body>
</html>