Показать сообщение отдельно
  #17 (permalink)  
Старый 16.11.2012, 01:05
Профессор
Отправить личное сообщение для zebra Посмотреть профиль Найти все сообщения от zebra
 
Регистрация: 14.09.2011
Сообщений: 523

$(document).ready(function(){
	$('.about li').hover(function(){
		$(this).stop(true, true).animate({
			opacity: 0.4
		},
        function() {
          $(this).animate({ opacity: 1}); 
       });
	},
	function() {
		$(this).stop(true, true).animate({
			opacity: 0.1,
          'backgroundPosition': '0 0'
		},
        function() {
             $(this).animate({ opacity: 1 }); 
       });
	});
});

Как-то так
Ответить с цитированием