You are not logged in.

1

Thursday, July 24th 2014, 2:01pm

Bild langsam einblenden

hallo,

ich will ein bild im panorama anzeigen, wen man auf einen hotspot klickt. das funktioniert einwandfrei.
ich lade ein bild als plugin und setze:

..........
..........
visible="false"
onclick="set(plugin[detailbild].visible,false);" />

im hotspot setze ich:
...........
...........

onclick="set(plugin[detailbild].visible,true);" />
das bild wird schlagartig eingeblendet - das will ich vermeiden.

ist es möglich, das bild mit langsameren übergang einzublenden ?
vg mkpano

2

Thursday, July 24th 2014, 8:28pm

Hallo,

es geht einfach :

visible="false"

onclick="set(plugin[detailbild].visible,false);" />
schreibe statt dessen :

visible="true"
alpha=0
onclick="set(plugin[detailbild].alpha, 0); "


im hotspot setze ich:

...........

...........



onclick="set(plugin[detailbild].visible,true);" />
statt dessen schreibst Du:

onclick="tween(plugin[detailbild].alpha, 1, 3);" />


und das bild wird in 3 Sekunden vollständig erscheinen.
Dazu gucke m al in Dokumentation die Parameter der aktion "tween" an.

Gruß,
Zachi

3

Friday, July 25th 2014, 4:42pm

hallo zachi69!

danke, funktioniert einwandfrei !

vg mkpano

4

Saturday, August 16th 2014, 8:23pm

bild langsam einblenden

funktioniert !

This post has been edited 2 times, last edit by "mkpano" (Sep 9th 2014, 12:36pm)


5

Wednesday, November 5th 2014, 7:34pm

hallo,

ich will ein bild im panorama anzeigen, wen man auf einen hotspot klickt. das funktioniert einwandfrei.
ich lade ein bild als plugin und setze:

..........
..........
visible="false"
onclick="set(plugin[detailbild].visible,false);" />

im hotspot setze ich:
...........
...........

onclick="set(plugin[detailbild].visible,true);" />
das bild wird schlagartig eingeblendet - das will ich vermeiden.

ist es möglich, das bild mit langsameren übergang einzublenden ?
vg mkpano



blöde Frage
wie genau lädst du das Bild als plugin? und wo genau?
totale anfängerfrage
danke für die tipps

6

Thursday, October 8th 2015, 7:53pm

Hallo bin Anfänger,



Ist zwar schon länger her aber ich weiß nicht was ich falsch mache, möchte beim click auf einen Hotspot ein Bild einblenden bekomme aber immer Fatal Error -xml parser error element is malformed (#1090) .
Hab ich einen Syntax Fehler?


<krpano version="1.18">
<plugin name="editor" url="plugins/editor.swf" keep="true" />
<plugin name="options" url="plugins/options.swf" keep="true"/>
-----------------------------------------------------------------------------------------------------------------------------------------------

<plugin name="detailbild" url="Hotspots/hs1.jpg"
visible="true"
alpha=0
onclick="set(plugin[detailbild].alpha, 0); " />


<hotspot name="hs1" url="Hotspots/hs1.png" alpha="0.5"
ath="-44.161383" atv="28.660989" width="256" height="256" scale="0.313866"
onclick="tween(plugin[detailbild].alpha, 1, 3);" />

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<!-- the skin -->
<include url="skin/defaultskin.xml" />

<!-- view settings -->
<view hlookat="0" vlookat="0" maxpixelzoom="1.0" fovmax="150" limitview="auto" />


<preview url="IMG_9251_Panorama_sphere.tiles/preview.jpg" />

<image type="CUBE" multires="true" tilesize="512">
<level tiledimagewidth="1286" tiledimageheight="1286">
<cube url="IMG_9251_Panorama_sphere.tiles/mres_%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="644" tiledimageheight="644">
<cube url="IMG_9251_Panorama_sphere.tiles/mres_%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="IMG_9251_Panorama_sphere.tiles/mobile_%s.jpg" />
</mobile>
</image>



</krpano>







Hat sich erledigt, Syntaxfehler bei alpha*thumbdown*

This post has been edited 3 times, last edit by "torheit" (Oct 10th 2015, 12:36pm)


7

Saturday, October 10th 2015, 12:35pm

Hallo,

wie kann ich nun aber das Bild fest an den Hotspot binden, mit koordinaten?

Wahrscheinlich Anfängerfrage, aber ich bekomme das nicht hin und mein Englisch lässt zu wünschen übrig.

Gibt es die Dokumentation eigentlich auch in Deutsch?

8

Friday, October 16th 2015, 9:55am

Hi,
wie kann ich nun aber das Bild fest an den Hotspot binden, mit koordinaten?
Das kommt darauf an was genau gemeint ist...

Eine Möglichkeit wäre eventuell per parent - z.B.

Source code

1
2
<hotspot name="spot1" ... />
<layer name="bild1" ... parent="hotspot[spot1]" align="lefttop" x="10" y="10" />


Schöne Grüße,
Klaus