|
Right-click menu
Buy now Get support
Enable right-click to show the context menu (disabled by default).
Here's the code:
<html>
<head>
<title>Magic Zoom: Right-click menu</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>Enable right-click to show the context menu (disabled by default).</p>
<!-- define Magic Zoom -->
<a href="images/r1-blue-3.jpg" title="Cool bike!" class="MagicZoom" rel="right-click: true;"><img src="images/r1-blue-2.jpg"/></a>
</body>
</html>
|