Sie sind nicht angemeldet.

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.

360boy

Fortgeschrittener

  • »360boy« ist der Autor dieses Themas

Beiträge: 249

Wohnort: Mexico City

Beruf: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Nachricht senden

1

Donnerstag, 6. Juni 2013, 18:38

AUTOALPHA crashes hotspots on HTML5

Hello Klaus,

I've just found this bug. I'm using arrows for navigation in a virtual tour (distorted hotspots), I've just opened the HTML5 viewer version and the hotspots display a strange behavior. I'm using this style for them:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
<style 	name="hotspot_eye" 			      
url="img/hotspot.png"
distorted="true"
edge="top"
zoom="true"
scale="0.5"
alpha="0.9"
onover="tween(alpha,1,0.3); tween(scale,0.4,0.3);"
onout="tween(alpha,0.9,0.3); tween(scale,0.5,0.3);"    	
enabled="true"
autoalpha="true"
/>	   


When I open the first scene all the arrow hotspots look fine but as soon as I go to another pano (using the hotspots) all the corresponding hotspots in this scene are not shown.

After testing for a while I found that autoalpha="true" is the one responsible here for this behavior, when I delete it everything works as expected.

Just tested it in krpano 1.16.4 and still occurs. Please check this out.

Best regards

Luis

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »360boy« (6. Juni 2013, 18:48)