fadeToggle is non-symetrical
I have a simple box within a box and I fadeToggle the inner box when the outer box is rolled over:
- $("div#varcontents").hide(); // start with varcontents hidden
- $("div#varbox").hover(function(){
- $("div#varcontents").fadeToggle(800, 'linear');
- });
- <div id='varbox' >
- <div id='varcontents'>
- <br />product_id =$product_id
- <br />owner = $owner
- <br />member_id = $member_id</p>
- </div>
- </div>
But I notice that when I roll over the outer box the inner box comes on almost immediately while when I roll off of the outer box the inner box fades out in the time I specified, 800ms, above. Why doesn't it take 800ms for the inner box to fade in? The result is the same with or without the 'linear' easing.
Thanks for any help.