Lieber Besucher, herzlich willkommen bei: Panorama Community. 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.
Hallo an Alle, würde gerne meine bottons wie plus, minus, left, usw. verkleinert darstellen wollen. Bei onhover sollen sie dann auf die jetzige größe zoomen. Hoffe mir kann da jemand weiter helfen. so schauen sie jetzt aus
Zitat
<action name="overeffect">
set(blendmode,add);
tween(plugin[in].scale,1);
tween(plugin[out].scale,1);
tween(plugin[left].scale,1);
tween(plugin[right].scale,1);
tween(plugin[up].scale,1);
tween(plugin[down].scale,1);
tween(plugin[home].scale,1);
tween(plugin[openfs].scale,1);
tween(plugin[closefs].scale,1);
tween(plugin[in].x,-160);
tween(plugin[out].x,-120);
tween(plugin[left].x,-80);
tween(plugin[right].x,-40);
tween(plugin[up].x,0);
tween(plugin[down].x,40);
tween(plugin[home].x,80);
tween(plugin[openfs].x,120);
tween(plugin[closefs].x,120);
</action>
<action name="outeffect">
set(blendmode,screen);
tween(plugin[in].scale,0.5);
tween(plugin[out].scale,0.5);
tween(plugin[left].scale,0.5);
tween(plugin[right].scale,0.5);
tween(plugin[up].scale,0.5);
tween(plugin[down].scale,0.5);
tween(plugin[home].scale,0.5);
tween(plugin[openfs].scale,0.5);
tween(plugin[closefs].scale,0.5);
tween(plugin[in].x,-80);
tween(plugin[out].x,-60);
tween(plugin[left].x,-40);
tween(plugin[right].x,-20);
tween(plugin[up].x,0);
tween(plugin[down].x,20);
tween(plugin[home].x,40);
tween(plugin[openfs].x,60);
tween(plugin[closefs].x,60);
</action>
Zitat
<!-- direction/zoom buttons -->
<plugin name="in" url="btn_plus.jpg" align="bottom" edge="bottom" y="20" x="-160" blendmode="screen" ondown="set(movevectorz,-1);" onup="set(movevectorz,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="out" url="btn_minus.jpg" align="bottom" edge="bottom" y="20" x="-120" blendmode="screen" ondown="set(movevectorz,+1);" onup="set(movevectorz,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="left" url="btn_left.jpg" align="bottom" edge="bottom" y="20" x="-80" blendmode="screen" ondown="set(movevectorx,-1);" onup="set(movevectorx,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="right" url="btn_right.jpg" align="bottom" edge="bottom" y="20" x="-40" blendmode="screen" ondown="set(movevectorx,+1);" onup="set(movevectorx,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="up" url="btn_up.jpg" align="bottom" edge="bottom" y="20" x="-0" blendmode="screen" ondown="set(movevectory,-1);" onup="set(movevectory,0);" onover="action(overeffect);" onout="action(outeffect);" />
<plugin name="down" url="btn_down.jpg" align="bottom" edge="bottom" y="20" x="+40" blendmode="screen" ondown="set(movevectory,+1);" onup="set(movevectory,0);" onover="action(overeffect);" onout="action(outeffect);" />
<!-- hotspot/home/info/fullscreen buttons -->
<plugin name="home" url="btn_home.jpg" align="bottom" edge="bottom" y="20" x="+80" blendmode="screen" onhover="showtext(Move to Home);" onover="action(overeffect);" onout="action(outeffect);" onclick="lookto(0.0,7,97);" />
<plugin name="openfs" url="btn_openfs.jpg" visible="true" align="bottom" edge="bottom" y="20" x="+120" blendmode="screen" onhover="showtext(Enter Fullscreen);" onover="action(overeffect);" onout="action(outeffect);" onclick="set(fullscreen,true);" />
<plugin name="closefs" url="btn_closefs.jpg" visible="false" align="bottom" edge="bottom" y="20" x="+120" blendmode="screen" onhover="showtext(Exit Fullscreen);" onover="action(overeffect);" onout="action(outeffect);" onclick="set(fullscreen,false);" />
Zitat
<krpano onstart="action(outeffect);">
...
Zitat
<include url="buttons.xml" />
)© 2006-2025