If you want a plug and play solution, San7 plugin is certainly an option!
If you are into coding/styling a bit yourself, you can use this piece of code as a start. Put it in your tour.xml:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<layer type="container" name="hotspotlist" flowchildren="v">
</layer>
<action name="makehotspotlist" autorun='onstart' scope="local">
for(set(i,0), i LT hotspot.count, inc(i),
set(s,get(hotspot[get(i)]));
addlayer(calc(get(s.name)+i));
set(item,get(layer[calc(get(s.name)+i)]));
set(item.parent, "hotspotlist");
set(item.type, "text");
set(item.text, get(s.name));
set(item.onclick, calc("looktohotspot('" + get(s.name) + "', 110)"));
);
</action>
|