Benutzerinformationen überspringen
Wohnort: Wellington, New Zealand
Beruf: Trying to build an entire walkthrough of NZ for tourists
Benutzerinformationen überspringen
Wohnort: Wellington, New Zealand
Beruf: Trying to build an entire walkthrough of NZ for tourists
|
|
Quellcode |
1 2 3 4 5 6 7 |
<plugin name="YourtextfielPlugin" ..... /> <hotspot name="hotspot1" .......... onclick="set(plugin[YourtextfielPlugin].html,some txt for hotspot1)"; /> <hotspot name="hotspot2" .......... onclick="set(plugin[YourtextfielPlugin].html,some txt for hotspot2)"; /> |
Benutzerinformationen überspringen
Wohnort: Wellington, New Zealand
Beruf: Trying to build an entire walkthrough of NZ for tourists
|
|
Quellcode |
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 |
<hotspot name="textessai" url="%SWFPATH%/plugins/textfield.swf"
width="100" height="20"
ath="" atv=""
html="[p]salut[/p]"
css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:14; margin-left:5; margin-right:5; text-align:center; }"
backgroundcolor="0xFFFFFF" roundedge="5" shadow="1" borderwidth="0" glow="4" glowcolor="0xFFFFFF"
autosize="center"
/>
<hotspot name="hotspot1" ..........
onover="set(hotspot[textessai].html,[p]some txt for hotspot1[/p]);
set(hotspot[textessai].ath,10);
set(hotspot[textessai].atv,-10);
set(hotspot[textessai].visible,true); "
onout="set(hotspot[textessai].visible,false); "
onclick="";
/>
<hotspot name="hotspot2" ..........
onover="set(hotspot[textessai].html,[p]some txt for hotspot2[/p]);
set(hotspot[textessai].ath,100);
set(hotspot[textessai].atv,-40);
set(hotspot[textessai].visible,true); "
onout="set(hotspot[textessai].visible,false); "
onclick="";
/>
|
I hope this can make the job... tell me..
- ath
point at horizontal position in spherical coordinates (0 .. 360°)- atv
point at vertical position in spherical coordinates (-90 .. +90°)
Hi Michel:Hi viewinz,
I just tried with textfield as hotspot... like this:
![]()
Quellcode
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<hotspot name="textessai" url="%SWFPATH%/plugins/textfield.swf" width="100" height="20" ath="" atv="" html="[p]salut[/p]" css="p{color:#000000; font-family:Arial; font-weight:bold; font-size:14; margin-left:5; margin-right:5; text-align:center; }" backgroundcolor="0xFFFFFF" roundedge="5" shadow="1" borderwidth="0" glow="4" glowcolor="0xFFFFFF" autosize="center" /> <hotspot name="hotspot1" .......... onover="set(hotspot[textessai].html,[p]some txt for hotspot1[/p]); set(hotspot[textessai].ath,10); set(hotspot[textessai].atv,-10); set(hotspot[textessai].visible,true); " onout="set(hotspot[textessai].visible,false); " onclick=""; /> <hotspot name="hotspot2" .......... onover="set(hotspot[textessai].html,[p]some txt for hotspot2[/p]); set(hotspot[textessai].ath,100); set(hotspot[textessai].atv,-40); set(hotspot[textessai].visible,true); " onout="set(hotspot[textessai].visible,false); " onclick=""; />
This way you have only 1 "hotspot textfield".
for each hotspot, onover makes the action to give the right html text , the position with ath and atv, and makes visible the "hotspot textfield".....
and onout makes the "hotspot textfield" invisible....
I think it is correct...
About ath and atv:
I hope this can make the job... tell me..
- ath
point at horizontal position in spherical coordinates (0 .. 360°)- atv
point at vertical position in spherical coordinates (-90 .. +90°)![]()
Salut.