Maybe it would be useful to put the krpano console on the side like the js console in the browser so that it doesn't interfere with the stage.
Best regards,
Fdo
Maybe it would be useful to put the krpano console on the side like the js console in the browser so that it doesn't interfere with the stage.
Best regards,
Fdo
Enable the consolelog setting in the html file and you can use the browsers JS console.
Hi, klaus, thanks for your help,
Works fine:
In browser console:
step1:
var krpano=document.getElementById("krpanoSWFObject");
step2:
krpano.call("mykrpanoaction();");
Perfect!!
In the JS console you can only use Javascript.
Here a way to create a global krpano object, which then you could use in the console:
Then in the console either call krpano action code using 'call':
or directly interact with the krpano elements by Javascript:
Hi Klaus,
Thank you for your precise explanation. I can now use the browser console correctly.
In the case of the krpano Console, have you considered temporarily reducing the height of the stage when the console is activated?
The console superimposed on the stage (even with the possibility of swapping between up and down) is a bit annoying and I couldn't have it open (always while coding) as I would like.
Best regards,
Fdo
After testing JS console:
It is certainly not so necessary (modify krpano console), with the javascript console it is solved perfectly.
Best regards,
Fdo
Don’t have an account yet? Register yourself now and be a part of our community!