pass action from openurl

  • Hi, please I need pass an action from .html page, parameter similar a startscene:

    klaus startscene:
    openurl('index.html?starscene=myscene',_self);

    I need anything as:

    openurl('index.html?krpanoaction=myaction',_self);

    This action, of course, is in the .xml of the new page loaded.

    Thanks, best regards,

    Fernando.

  • Hi,

    have a look into the tour.xml at the 'startup' action - it provides 'startactions' for that case:

    E.g. use it that way:

    Code
    tour.html?startactions=trace('hello');

    or if the onstart event is not in use, you could also use that:

    Code
    tour.html?onstart=trace('hello');

    Best regards,
    Klaus

Jetzt mitmachen!

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