Onclick on hotspot ineffective - help

  • Hi,

    I'm getting nuts with this ...

    I've got a virtual tour with hotspots (sounds very normal ;-)). Hotspots are
    working - no problem.

    It is this one:

    http://www.360-grad-panoramafotografie-hamburg.de/gm/wp-content/…_meinl/tour.php

    When clicking one of the hotspots there is a zoom in to the hotspot position
    an to a fov of ???
    Then it is blended to the next panorama (to the view that's set up in the
    <view> tag - hlookat, vlookat, fov).

    What I want is:

    - click on a hotspot
    - zoom in to the hotspot
    - blend to the next panorama (start view from that next panorama should
    be the same as the last view when it is zoomed in to the hotspot)
    - zoom out to a specified hlookat, vlookat and fov

    My hotspots look like this, when created with the tour editor:

    Code
    <hotspot name="spot1" style="skin_hotspotstyle" ath="-55.661" atv="19.325" linkedscene="scene_panorama_2" />

    After looking at several virtual tuors, that were created with krpano I tried
    it with something like this in the <hotspot> tag (this is a hotspot snippet from
    the krpano viewer example folder "examples - virtual-tours - demotour-wein-
    gut - tour.xml with my hotspot parameters):

    but that changes nothing. Weird :-/ You can check it out in my tour -
    the hotspot "Zum Gastraum" in pano 1 has these settings, the hotspot
    "Zum Eingang" in the second panorama has the settings from the first
    code example. There is absolutely no difference in the behaviour of
    the hotspots. I really can't unterstand that.

    Where is my mistake here? Any help appreciated *smile*

    Thanks in advance and regards,

    Josch

  • Hi Klaus,

    thanks a lot for your support *smile*

    I haven't reckoned with this double onclick action so I searched everywhere for the error but not THERE *smile*

    Now it works as expected and I unterstand krpano better and better.

    Regards,

    Josch

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!