problem with 2 xml files

  • http://360concept.ro/
    i have a xml that contains the plugins like butons map , info ,little planet and all the things i need and another 2 xml's which containes 2 different panos.the problem is that when i start the first xml , 1.xml, the event "onstart" executes correctly but the same event on 2.xml doesn't do anything.

    sample from include.xml


    sample from 1.xml

    Zitat


    <krpano version="1.0.8"onstart="action(starthelp);action(showmap)">


    sample from 2.xml

    Zitat


    <krpano version="1.0.8"onstart="action(starthelp);action(hidemap)">


    just click fullscreen, click on the arrow to go to the next pano, and try to click again on the button to switch to normal screen
    http://360concept.ro/panorame/olane…360concept.html

    Einmal editiert, zuletzt von booghy08 (25. Februar 2010 um 22:47)

  • The onstart action is activated for the first pano only. Subsequent panos which are loaded with the loadpano command will not execute the onstart action.

    Try putting the hidemap action in onxmlcomplete event in 2.xml.

    Code
    <events onxmlcomplete="action(hidemap);"
    
    
    	        />


    steve

Jetzt mitmachen!

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