i´d like to fadeIn a submenu and chance the position at the same time.
Like the cool Coda-Tooltip (http://panic.com/coda/) over "download".
My code just do the fade this time:
$(document).ready(function(){
$('#access').hover(function () {
$(this).children('ul').fadeIn();
$(this).children('ul')...position();
}, function () {
$(this).children('ul').fadeOut('slow');
$(this).children('ul')...position();
});
});
Thanks Ingo
Now I do this:
$(document).ready(function(){
$('#access').hover(function () {
$(this).children('ul').stop().animate({opacity:1, paddingTop:'10px'}, 400);
}, function () {
$(this).children('ul').stop().animate({opacity:0, paddingTop:'0px'}, 300);
});
});
Fadein and the padding works great. But not by fadeOut. What´s my mistake?