jquery slide delay for jooml yt megamenu plugin
<p>I have a working joomla extension (YT Mega menu). I want to make some updates to the existing code.</p>

<p>Here is the code for mouseenter and mouseleave,</p>

<pre><code>        li.addEvent('mouseenter', function (e) {
        //if (objectReference.hasOpenning) return;
        log('enter parent of ' + (ul ? ul.id : 'li has not child'));
        li.addClass('hover');
        if (ulexists) {
            objectReference.showChild(ul);
        }
    });
    li.addEvent('mouseleave', function (e) {
        log('leave parent of ' + (ul ? ul.id : 'li has not child'));
        li.removeClass('hover');
        if (ulexists) {
            if (ul.pinned) return false;
            objectReference.hideChild(ul);
        }
    });
</code></pre>

<p>On mouseleave i want a delay before hiding the UL.
is there any way to do??</p>

<p>Please help, i am a beginner and confused. </p>
