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.

Douglas Rhiner

Fortgeschrittener

  • »Douglas Rhiner« ist der Autor dieses Themas

Beiträge: 141

Wohnort: San Anselmo, CA

Beruf: Code-Slave

  • Nachricht senden

1

Dienstag, 14. Juni 2011, 18:35

switch() hotspot.style ?

This was posted under krpanoJS HTML5/iPhone/iPad Viewer but got no response. After thinking for one moment, whew! *whistling* , I probably posted this in the wrong section.

I'd like to be able to switch() the style of a hotspot onclick.
Specifically I want to be able to toggle the drag attribute and displayed icon of a hotspot onclick.
This seems problematic since....

Zitat

Note - the attributes that were defined in a style can NOT be overwritten in the plugin / hotspots definition!

I can change the style of a hotspot via hotspot.loadstyle() but I can't seem to be able to figure this one out.
Any ideas or suggestions?

2

Dienstag, 14. Juni 2011, 23:13

Hi,

the normal viewer section would be okay for such, the html section is thought more for embedding the pano into html questions

anyway about your question:
switch() hotspot.style ?

best regards,
Klaus