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?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!