[Proto-Scripty] Re: Move - OnMouseMove- Only once

2009-02-16 Thread Jim Higson
On Sunday 15 February 2009 11:09:28 timbob wrote: The problem is that you are triggering a mousemove event _every_ time you move the mouse within the div, and every single time you create a Move effect. So when you leave the div there is a mouseout event and also the mousemove event from

[Proto-Scripty] Re: Move - OnMouseMove- Only once

2009-02-16 Thread Mario
Thanks, you are right, it works. However, I tried the solution which saves the stat but i wasn't able to solve the problem, I made it even worse... html xmlns=http://www.w3.org/1999/xhtml; head script src=./module/prototype.js type=text/javascript/script script src=./module/scriptaculous.js

[Proto-Scripty] Re: Move - OnMouseMove- Only once

2009-02-16 Thread Timm Florian Gloger
The problem is that you have different scopes in all callbacks. So the callback called when a mouseover event bubbles up, does not know about ausgefahren as defined in the callback of dom:loaded and so on. You could use a global variable to save the state or use a custom object with the

[Proto-Scripty] Re: Move - OnMouseMove- Only once

2009-02-16 Thread david
Hi Mario, it's because you observe the aeusseresmenue element id on mouseover and mouseout. and when mouseover the element, it's move to show, that works great :)) But when it move, as move is very quick (it's not that thing to modify), the mouse stay in place and go on the inneresmenue element

[Proto-Scripty] Re: Move - OnMouseMove- Only once

2009-02-15 Thread timbob
The problem is that you are triggering a mousemove event _every_ time you move the mouse within the div, and every single time you create a Move effect. So when you leave the div there is a mouseout event and also the mousemove event from your last mouse movement. The flickering you see is the