Hi,
right, at the moment a click into the pano itself is required to give krpano the focus and to enable the keyboard control - but it should give krpano also the focus when clicking any other element inside krpano - I will improve this (and I will look for way/API to set the focus also directly).
As workaround you could try this Javascript code to give krpano the focus:
|
Quellcode
|
1
2
3
4
5
|
function krpano_focus(id)
{
document.getElementById(id).focus();
window.activekrpanowindow = id;
}
|
and then e.g. call:
|
Quellcode
|
1
|
krpano_focus("krpanoSWFObject");
|
(where "krpanoSWFObject" is the
id that will be set during embedding).
Best regards,
Klaus