/
06_mouse.xml
37 lines (36 loc) · 1.44 KB
/
06_mouse.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0" encoding="utf-8"?>
<!--
Assign mouse events on interaction with each waypoint. You can display content when mouse is hovering over
waypoint button with other modules, like InfoBubble.
../../_manual/index.html?module_imagemap.html
-->
<SaladoPlayer>
<global debug="true"/>
<panoramas>
<panorama id="checkerBlue" path="~panos/dz_checker_blue/checker_blue_f.xml"/>
</panoramas>
<modules>
<InfoBubble path="~modules/infobubble/InfoBubble-1.3.2.swf">
<bubbles>
<image id="bubbleBlue" path="~media/images/thumbs/checker_blue.jpg"/>
<image id="bubbleW1" path="~media/images/thumbs/checker_red.jpg"/>
</bubbles>
</InfoBubble>
<ImageMap path="~modules/imagemap/ImageMap-1.4.2.swf">
<viewer path="~modules/imagemap/skins/navigation_black_20x20.png"/>
<maps>
<map id="map2" path="~media/images/maps/map2.jpg">
<waypoints path="~modules/imagemap/skins/waypoints_button_20x20.png">
<waypoint target="checkerBlue" position="x:350,y:300" mouse="onOver:showBubbleBlue,onOut:hideBubble"/>
<extraWaypoint id="w1" position="x:150,y:100" mouse="onOver:showBubbleW1,onOut:hideBubble"/>
</waypoints>
</map>
</maps>
</ImageMap>
</modules>
<actions>
<action id="showBubbleBlue" content="InfoBubble.show(bubbleBlue)"/>
<action id="showBubbleW1" content="InfoBubble.show(bubbleW1)"/>
<action id="hideBubble" content="InfoBubble.hide()"/>
</actions>
</SaladoPlayer>