dear forummembers
i have had a lot of questions in the last days
svg hotspots , getlooktodistance and now the problem with bringin child value to the parent.
i ll show an example on what i am working.
( i have bought a license for callout hotspots, but ei want to have a bit more control, so i started to try.......)
https://360.tirol/bw/
finaly i want to get the sice of the masklayer depending to its child_parts
|
Source code
|
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
<!-- ANFANG_hotspot_3-->
<hotspot name="x_sign_3" url="skin/circularhotspots.png" ath="110" atv="-1" keep="false" onclick="" edge="center" rotate="180" zoom="false" scale="1" capture="false" alpha="1" zorder="99999" width="40" height="40" distorted="false" tweenwidth="160" onloaded="do_crop_animation(64,64,32);" scalechildren="false"/>
<layer name="circle_dot_3" style="kreis" parent="hotspot[x_sign_3]" keep="false" onclick="" edge="center"
align="center" rotate="0" zoom="false" scale="1" capture="false" alpha="1" zorder="99999" width="10" height="10" distorted="false" onloaded="" />
<layer name="x_sign_3"
type="image"
url="skin/trans2.png"
keep="false"
parent="hotspot[x_sign_3]"
visible="true"
enabled="true"
maskchildren="true"
scalechildren="false"
zorder="0"
style=""
align="center"
edge="leftbottom"
ox=""
oy=""
rotate="0.0"
open_width="300"
width="0"
height="118"
scale="1.0"
alpha="1"
/>
<layer name="x_master_3" style="gerade"
width="100" height="4"
x="2" oy=""
keep="false" onclick=""
edge="leftbottom" align="leftbottom"
rotate="-60" zoom="false" scale="1"
capture="false" alpha="1"
parent="layer[x_sign_3]"
distorted="false"/>
<layer name="senkrechte_3" style="vertikal"
width="6" height="60"
ox="0" oy="0"
keep="false" onclick=""
edge="center" align="rightcenter"
rotate="60" zoom="false" scale="1"
capture="false" alpha="1"
parent="layer[x_master_3]"
distorted="false"/>
<layer name="primus_3" style="leo" rotate="180"
html="Stadtmauer"
parent="layer[senkrechte_3]"
align="leftbottom" ox="-5" edge="righttop"
onclick=""/>
<layer name="subtext_3" style="leo2"
html="weiterlesen...."
parent="layer[primus_3]"
edge="righttop"
align="rightbottom" ox="0"
onclick=""/>
|