You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Fernando

Intermediate

  • "Fernando" started this thread

Posts: 202

Location: Habana, Cuba

Occupation: Architect, Photographer, Programmer.

  • Send private message

1

Friday, March 22nd 2019, 10:48pm

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.

2

Friday, March 29th 2019, 10:16pm

Hi,

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

E.g. use it that way:

Source code

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


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

Source code

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


Best regards,
Klaus

Fernando

Intermediate

  • "Fernando" started this thread

Posts: 202

Location: Habana, Cuba

Occupation: Architect, Photographer, Programmer.

  • Send private message

3

Saturday, March 30th 2019, 3:07pm

Thanks very much,
Best regards,
Fernando