Sie sind nicht angemeldet.

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