| Example 3 - with one red hotspot -when you click on the sport, example 4 is shown |
|
Description |
HTML Param |
| coordinates of the first hotspot | <param name="spot0" value="30,100"> |
| Link to the page, when mouse is clicked | <param name="link0" value="example4.htm"> |
| Target of the link | <param name="target0" value="rechts"> |
| RBG Color of the spots (here: white) | <param name="spotcolor" value="FF0000"> |
| additinal Spots/Links | ... spot1 , spot2 ... link1, link2 ... target1, target2 ... |
| Text for the spot | <param name="spottxt0" value="goto example 4"> |
| color of the text fot describing text (spottxt.) | <param name="spottxtcolor" value="0000FF"> |
| backgroundcolor for the describing text | <param name="spotbg" value="FFFF00"> |
| In the spot# parameter you define the
koordinates (x and y koordinate) where the hotspot appears in your panorama
image. Just count from spot0, spot1, spot2, ...The numer of spots is not limited. Define the positions in pixels (0,0 is top-left) . If you are with the mouse on (are very near) to the hotspot, the scrolling of the image is stopped an resumed if you leave the hostspot. The cursor changes to a hand-cursor and in the statusline of the browser the link and target are displayed. When you press the mouse, the link gets control. |
|
| HTML Code | ||
| <applet code="AdvPanorama.class"
name="pano-advanced"
width="350"
height="216"> <param name="panorama" value="panorama.jpg"> <param name="bytes" value="86000"> <param name="border" value="1"> <param name="direction" value="rl"> <param name="spotcolor" value="FFFFFF"> <param name="bgcolor" value="FFFF00"> <param name="roomcolor" value="00FF00"> <param name="spot0" value="230,100"> <param name="link0" value="example4.htm"> <param name="target0" value="rechtse"> <param name="spottxt0" value="goto example 4"> <param name="spottxtcolor" value="0000FF"> <param name="spotbg" value="FFFF00">
|