Hotspots

Buy now Get support

This image has 3 hotspots. Each hotspot has unique settings.


Here's the code:

  1. <html>
  2.     <head>
  3.         <title>Magic Zoom Plus: Hotspots</title>
  4.        
  5.         <!-- link to magiczoomplus.css file -->
  6.         <link href="magiczoomplus/magiczoomplus.css" rel="stylesheet" type="text/css" media="screen"/>
  7.         <!-- link to magiczoomplus.js file -->
  8.         <script src="magiczoomplus/magiczoomplus.js" type="text/javascript"></script>
  9.        
  10.     </head>
  11.     <body>
  12.        
  13.         <p>This image has 3 hotspots. Each hotspot has unique settings.</p>
  14.  
  15.         <a href="images/harley1c.jpg" class="MagicZoomPlus" id="Zoomer" rel="selectors-effect-speed: 600; hotspots: hd1-spots" title="Harley-Davidson Dyna Wide Glide"><img src="images/harley1b.jpg"/></a> <br/>
  16.  
  17.         <a href="images/harley1c.jpg" rel="zoom-id:Zoomer" rev="images/harley1b.jpg"><img src="images/harley1a.jpg"/></a>
  18.         <a href="images/harley2c.jpg" rel="zoom-id:Zoomer; hotspots: hd2-spots" rev="images/harley2b.jpg"><img src="images/harley2a.jpg"/></a>
  19.  
  20.         <div id="hd1-spots" class="MagicHotspots">
  21.             <a href="images/harley4.jpg" coords="115,145,135,165" title="New Helical-Cut 5th Gear" rel="background-opacity: 50" class="MagicThumb"></a>
  22.             <a href="images/harley5.jpg" coords="130,75,196,110" title="Tank"  rel="background-opacity: 50" class="MagicThumb"></a>
  23.             <a href="images/harley3.jpg" coords="75,120,85,140" title="Rear Shocks"  rel="background-opacity: 50" class="MagicThumb"></a>
  24.         </div>
  25.  
  26.         <div id="hd2-spots" class="MagicHotspots">
  27.             <a href="images/harley7.jpg" coords="205,100,240,160" title="Wide Front Forks" rel="background-color: #303050; background-opacity: 50" class="MagicThumb"></a>
  28.             <a href="images/harley6.jpg" coords="20,90,50,105" title="Tail View" rel="background-color: #303050; background-opacity: 50" class="MagicThumb"></a>
  29.         </div>
  30.  
  31.        
  32.     </body>
  33. </html>