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.

3sfera

Fortgeschrittener

  • »3sfera« ist der Autor dieses Themas

Beiträge: 249

Wohnort: Mexico City

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

  • Nachricht senden

1

Freitag, 21. Oktober 2011, 22:37

Trying to define an extra parameter for <autorotate>

Hello everyone, I'm trying to define an extra parameter for <autorotate>. As documentation states, the parameters for <autorotate> are:

Quellcode

1
2
3
4
5
6
7
8
<autorotate 
            enabled=""
            waittime=""
            accel=""
            speed=""
            horizon=""
            tofov=""
            />


I'd like to define the extra parameter speed_backup="(SOME VALUE)" at the end of the code, just bellow tofov="". I've seen in some examples of Krpano Viewer that extra parameters can be created for hotspots, just by defining them (parameter="(SOME VALUE)") at the end of all the other parameters. In my case I'd already tried coding an extra parameter by this way but it has worked for me just for plugins/hotspots, in the case of autorotate it is not being recognized. Do anyone know if this extra parameter can be defined? or in which tags extra parameters can be defined? As I mentioned, I have extra parameters running for hotspots & plugins but they won't work for <autorotate> tag. Thank ya pals!!

Cheers. *smile*

Luis Erantzcani

2

Donnerstag, 27. Oktober 2011, 12:28

Hi,

some elements in krpano are dynamic and some not,
dynamic means adding custom attributes is possible,

basically only the plugin, hotspot, events and all custom elements are dynamic, but the most other native elements are NOT dynamic, e.g. these ones: area, autorotate, control, cursors, display, image, lensflare, network, progress, textstyle, view - adding custom attributes - adding there attributes is not possible,

best regards,
Klaus

3sfera

Fortgeschrittener

  • »3sfera« ist der Autor dieses Themas

Beiträge: 249

Wohnort: Mexico City

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

  • Nachricht senden

3

Freitag, 28. Oktober 2011, 21:05

Okey Klaus, I see now why it wasn't working. Thanx a lot for your help!

By the way, you impress me man, how do you do to answer to that much of posts here in the forum?? I'm beggining to guess there are more than one people behind Klaus, hehe, but that's just a guess... *tongue*

Best Regards.

Luis