Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.
|
|
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
<krpano version="1.0.8"> <plugin name="slide1" url="slide1.png" keep="true" visible="true" enabled="true" handcursor="true" capture="true" children="true" zorder="1" alpha="1.00" blendmode="normal" smoothing="true" align="left" edge="right" x="0" y="0" ox="25" oy="0" rotate="0" width="" height="" scale="1" scale9grid="" crop="" mask="" onloaded="" onover="action(slide_action_1_in);" onhover="" onout="action(slide_action_1_out);" ondown="" onup="" onclick="" /> <action name="slide_action_1_in"> tween(plugin[slide1].x,500,distance(500,3),linear); </action> <action name="slide_action_1_out"> tween(plugin[slide1].x,0,distance(500,3),linear); </action> </krpano> |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<krpano version="1.0.7" onstart="action(hidespots);"> <!-- preview pano --> <preview type="grid(cube,32,32,256,0x888800,0x000044,0xFFFFFF);" details="8" /> <!-- lensflares --> <!-- change the default textstyle for showtext: --> <textstyle name="DEFAULT" font="Arial" fontsize="12" textcolor="0xFFFFFF" border="false" background="false" effect="glow(0x000000,0.7,4,2);dropshadow(4,45,0x000000,4,1);" /> <plugin name="spot0" url="mappoint.png" zorder="2" align="topleft" edge="center" x="25" y="500" onhover="showtext(Move Here);" onclick="loadpano(tour0.xml,NULL,MERGE,BLEND(1));" /> <plugin name="spot1" url="mappoint.png" zorder="2" align="topleft" edge="center" x="649" y="275" onhover="showtext(Move Here);" onclick="loadpano(tour1.xml,NULL,MERGE,BLEND(1));" /> <plugin name="spot2" url="mappoint.png" zorder="2" align="topleft" edge="center" x="686" y="300" onhover="showtext(Move Here);" onclick="loadpano(tour2.xml,NULL,MERGE,BLEND(1));" /> <plugin name="spot3" url="mappoint.png" zorder="2" align="topleft" edge="center" x="748" y="250" onhover="showtext(Move Here);" onclick="loadpano(tour3.xml,NULL,MERGE,BLEND(1));" /> <plugin name="map" url="map-blank.png" keep="true" visible="true" enabled="true" handcursor="false" capture="true" children="true" zorder="0" alpha="1" blendmode="normal" smoothing="true" align="left" edge="right" x="50" y="0" ox="50" oy="0" rotate="0" width="975" height="803" scale="1" scale9grid="" crop="" mask="" onloaded="" onover="action(slide_action_1_in);" onhover="showtext(Click to Hide Map)" onout="" ondown="" onup="" onclick="action(slide_action_1_out);" /> <action name="slide_action_1_in"> tween(plugin[map].x,975,distance(950,1),linear); action(showspots); </action> <action name="slide_action_1_out"> action(hidespots); tween(plugin[map].x,50,distance(500,1),linear); </action> <action name="showspots"> set(plugin[spot0].alpha,0); set(plugin[spot1].alpha,0); set(plugin[spot2].alpha,0); set(plugin[spot3].alpha,0); set(plugin[spot0].visible,true); set(plugin[spot1].visible,true); set(plugin[spot2].visible,true); set(plugin[spot3].visible,true); tween(plugin[spot0].alpha,1); tween(plugin[spot1].alpha,1); tween(plugin[spot2].alpha,1); tween(plugin[spot3].alpha,1); </action> <action name="hidespots"> set(plugin[spot0].visible,false); set(plugin[spot1].visible,false); set(plugin[spot2].visible,false); set(plugin[spot3].visible,false); </action> </krpano> |
Zitat
|
|
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 26 27 28 29 30 31 32 33 34 35 36 37 38 |
<plugin name="slide1" url="images/vslider_500px.png" keep="true" visible="true" enabled="true" handcursor="true" capture="true" children="true" zorder="1" alpha="1.00" blendmode="normal" smoothing="true" align="left" edge="right" x="0" y="0" ox="40" oy="0" rotate="0" width="" height="" scale="1" scale9grid="" crop="" mask="" onloaded="" onover="action(slide_action_1_in);" onhover="" onout="action(slide_action_1_out);" ondown="" onup="" onclick="" /> <action name="slide_action_1_in"> tween(plugin[slide1].x,190,distance(500,3),linear); </action> <action name="slide_action_1_out"> tween(plugin[slide1].x,0,distance(500,3),linear); </action> |
|
|
Quellcode |
1 |
tween(plugin[slide1].x,190,distance(500,3),linear); |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Phil« (9. Juni 2009, 06:43)
|
|
Quellcode |
1 |
distance(500,3) |
|
|
Quellcode |
1 |
distance(500,1.5) |
|
|
Quellcode |
1 |
distance(190,##) |
It's a universal law of forums I believe... happens to me all the time.Why is it easy to find the find the answer on my own after posting the question?