fonds d'écran - créations numériques - webmastering - photograhie - création de site - référencement efficace
La fonction Hotspots sur image
Combine l'effet zoom normal avec un agrandissement supplémentaire possible en utilisant hotspots.

Voir les explications sur le Blog en cliquant sur ce lien.
Le code:
- <html>
- <head>
- <title>Magic Zoom Plus: Hotspots</title>
- <!-- link to magiczoomplus.css file -->
- <link href="magiczoomplus/magiczoomplus.css" rel="stylesheet" type="text/css" media="screen"/>
- <!-- link to magiczoomplus.js file -->
- <script src="magiczoomplus/magiczoomplus.js" type="text/javascript"></script>
- </head>
- <body>
- <p>Combine related images using hotspots.</p>
- <!-- define Magic Zoom Plus -->
- <a href="images/harley1c.jpg" class="MagicZoomPlus" rel="hotspots: hd-spots" title="Harley-Davidson Dyna Wide Glide"><img src="images/harley1b.jpg"/></a> <br/>
- <!-- define hotspots. Each hotspot expands with different effect -->
- <div id="hd-spots" class="MagicHotspots">
- <a href="images/harley4.jpg" coords="115,145,135,165" title="New Helical-Cut 5th Gear" class="MagicThumb"></a>
- <a href="images/harley5.jpg" coords="130,75,196,110" title="Tank" class="MagicThumb"></a>
- <a href="images/harley3.jpg" coords="75,120,85,140" title="Rear Shocks" class="MagicThumb"></a>
- </div>
- </body>
- </html>