Really noob question...

  • Hi guys, I'm new in here...

    I've been messing around changing the arrow hotspots to animated hotspots.

    until here, I was successful...
    But now when I click on the hotspot...nothing happens.
    The links between panoramas are lost.

    Here's the line I'm talking about.

    <hotspot name="spot2" url="skin/animatedhotspot_black.png" onloaded="do_crop_animation(64,64, 20);" ath="-73.947" atv="15.104" linkedscene="scene_k03_output" />

    Anyone could help me out with it?

    Cheers!

  • Hi,

    the 'interactive' stuff of the default vtour hotspots is the defined in the 'skin_hotspotstyle' style (see the vtourskin.xml).

    That means either merge the code from the style with your own hotspot code or simply add an onclick event and load the scene there,
    e.g.

    Code
    <hotspot ... onclick="loadscene(scene_k03_output, null, MERGE, BLEND(1));" />

    Best regards,
    Klaus

Jetzt mitmachen!

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