Sie sind nicht angemeldet.

1

Mittwoch, 22. Juli 2020, 13:12

Image tooltips over polygonal hotspot

Hi everyone!

Im trying to set image tooltips (.png) over polygonal hotspot inside the pointed area. I set parent= attribute, but something going wrong.

Without parent="hotspot[name]" - I see image in the center of screen, not inside hotspot area (ok!)
If I using parent="hotspot[name]" - I just cant see image anywhere. *wacko*
Need advice *confused*

My code

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<hotspot name="natur" devices="desktop"	
fillcolor="0xffffff" fillalpha="0.0"  borderwidth="0.0" bordercolor="0xaaaaaa" borderalpha="0.0"  
zorder="1" capture="false" depth="1000" polyline="false" scaleflying="true"  tx="0"   ty="0"  tz="0"		
onhover="tween(plugin[big_nature].alpha,1);"	 
onout="tween(plugin[big_nature].alpha,0);"	 
onclick="openurl('http://www.example.com/'), _blank" >

<point  ath="133.56616510654473" atv="-9.419185332859648" />	 
<point  ath="-169.9069580992376" atv="-16.533351918256468"/>
<point  ath="-170.30123369621649" atv="31.787018306569887" />
<point ath="133.58127265529765" atv="18.954466168477502" /> 

</hotspot>

<plugin name="big_nature" parent="hotspot[natur]" url="skin/pl_big.png"
align="center" edge="center" keep="false" alpha="0" handcursor="true" enabled="true" >

2

Sonntag, 26. Juli 2020, 18:33

Je pense qu'il est préférable d'utiliser Hotspot comme une info-bulle. Réglez-le sur un point chaud polygonal.

3

Mittwoch, 29. Juli 2020, 12:03


Je pense qu'il est préférable d'utiliser Hotspot comme une info-bulle. Réglez-le sur un point chaud polygonal.
Thanks, it works! *thumbup*