Sie sind nicht angemeldet.

fellipe

Schüler

  • »fellipe« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Brazil

Beruf: Photographer

  • Nachricht senden

1

Dienstag, 15. Juni 2010, 03:56

delayedcall not working

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?

2

Dienstag, 15. Juni 2010, 05:39

Edit:



onout="delayedcall(2.0, action(menu_hide); );"

according to the documentation.

fellipe

Schüler

  • »fellipe« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Brazil

Beruf: Photographer

  • Nachricht senden

3

Dienstag, 15. Juni 2010, 05:42

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...

4

Dienstag, 15. Juni 2010, 05:44

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); );">

fellipe

Schüler

  • »fellipe« ist der Autor dieses Themas

Beiträge: 67

Wohnort: Brazil

Beruf: Photographer

  • Nachricht senden

5

Dienstag, 15. Juni 2010, 05:44

anyway to set the onover to cancel the onout command?

7

Mittwoch, 16. Juni 2010, 04:26

anyway to set the onover to cancel the onout command?

See this post

steve