Got it working with this:

function Hovertest()
{
    this.timeoutRunning = false;
    this.hover = function()
    {
        if (!this.timeoutRunning)
        {
            this.timeoutRunning = true;
            alert('true...');
        }
        else
        {
            alert('JEAAA FALSE');
        }
    }
}
var hovertje = new Hovertest();

<a href="#" onmouseover="Hovertest.hover();">hovertest</a>

If there is another way.. please tell me.

Reply via email to