need help with loadpano action

  • hello everybody

    first of all: i'm not a web developer and i don't know anything about programming and scripting, i'm simply a 3d designer trying to make his project work correctly.

    this is the project i'm working on: link

    and this is my problem: i'd like the home button to reload the whole scene from the beginning. the home action button now has this code:

    Code
    <plugin name="home" align="bottom" crop="0|0|65|65" customColor="true" height="prop" keep="true" onclick="openurl(index.html,_self);" onout="" onover="" onovercrop="0|65|65|65" url="virtualtourdata/graphics/menu/menu7.png" width="40" x="130" y="12"/>

    i tryed the loadpano command in the onclick field like this

    Code
    onclick="loadpano(virtualtour.xml);"

    but when the scene reloads, the hotspots in the map disappear, so the only way to make it work is reloading the whole webpage with the openurl command: i don't want to do this, i only want to reload the initial view... any idea?

    thanx for help

Jetzt mitmachen!

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