Я бы хотел исчезнуть в подменю и изменить положение одновременно.
Как и классная подсказка Coda (http://panic.com/coda/) над «скачать».
Мой код на этот раз просто исчезает:
$(document).ready(function(){
$('#access').hover(function () {
$(this).children('ul').fadeIn();
$(this).children('ul')...position();
}, function () {
$(this).children('ul').fadeOut('slow');
$(this).children('ul')...position();
});
});
Спасибо
Инго
Теперь я делаю это:
$(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 и padding прекрасно работают. Но не с помощью fadeOut. В чем моя ошибка?