I"d like to set a delay time to when user leaves the menu area it calls a action to hide the menu.
The code I'm using is:
onout="delayedcall(2.0, action(menu_hide);"
But it's not working.
Is this right?
I"d like to set a delay time to when user leaves the menu area it calls a action to hide the menu.
The code I'm using is:
onout="delayedcall(2.0, action(menu_hide);"
But it's not working.
Is this right?
Edit:
onout="delayedcall(2.0, action(menu_hide); );"
according to the documentation.
It worked Jarredja, but not the way I want :(
I inserted the code and even if the user keeps the mouse on the menu it plays the action hidemenu after the delay time...
I looked in the documentation and found an example and had posted incorrectly. I have now fixed it above.
here is exactly as documented.
<krpano ... onstart="delayedcall(5, action(hidelogo); );">
anyway to set the onover to cancel the onout command?
Don’t have an account yet? Register yourself now and be a part of our community!