1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
	if( p.length ){		
		   $(document).on("mouseover",".project",function(){
			var t = $(this),
				pic = t.find('img'),
				mask = t.find('.project-mask-link');
				
					mask.stop(true,true)
						.animate({
							opacity: 1
						}, 400, "easeOutSine" );
					pic.stop(true,true)
						.animate({
							opacity: 0.2
						}, 400, "easeOutSine" );
		   });
		   $(document).on("mouseleave",".project",function(){
			var t = $(this),
				pic = t.find('img'),
				mask = t.find('.project-mask-link');
				
					mask.stop(true,true)
						.animate({
							opacity: 0
						}, 400, "easeOutSine" );
					pic.stop(true,true)
						.animate({
							opacity: 1.0
						}, 400, "easeOutSine" );
		   });
	}