I am trying to make a div that slides out nicely when you mouse over a "trigger". It is appearing in full, then quickly disappearing and sliding out again. I can't seem to figure out the reason for this behavior.
If needed I can put a sample up in a bit.
Test case is up here. This is happening on all major browsers except IE6.
HTML:
<div class='wrap'>
<div id='navtitle'>
NAV>>
</div>
<div id='nav'>
<div id='navlist' class='rounded curvyRedraw'>
<div class='top'><div></div></div>
<ul>
<li><a href='#'>Home</a></li>
<li><a href='#'>Singles</a></li>
<li><a href='#'>Supplies</a></li>
<li><a href='#'>Cart</a></li>
</ul>
</div>
</div>
</div>
Javascript:
$(document).ready(function (){
$('#navlist').hide();
$('#navtitle').bind("mouseenter", function(){
$('#navlist').show('slide');
});
$('#nav').bind("mouseleave", function(){
$('#navlist').hide('slide');
});