﻿
$(document).ready(function () {
	//Logo Image
	$('.logo').hover(
		function () { $(this).stop().animate({ opacity: '0' }, 600); },
		function () { $(this).stop().animate({ opacity: '1' }, 800); }
	);
	//Tabs List
	$('.tabs li').hover(
		function () { $(this).stop().animate({ top: '-=38px' }, { duration: 800, easing: 'easeOutBounce' }); },
		function () { $(this).stop().animate({ top: '0px' }, 0); }
	);
	//Page List
	$('.pageList li').hover(
		function () { $(this).stop().animate({ marginLeft: '-5px' }, 300); },
		function () { $(this).stop().animate({ marginLeft: '-20px' }, 300); }
	);
	//Content Links
	$('.bWrap a').hover(
		function () { $(this).stop().animate({ color: '#0066FF' }, 800); },
		function () { $(this).stop().animate({ color: '#3399FF' }, 800); }
	);

	//Portfolio Images
	$('.pImg').hover(
		function () { $(this).stop().animate({ paddingRight: '20px', paddingBottom: '20px' }, 300); },
		function () { $(this).stop().animate({ paddingRight: '0', paddingBottom: '0' }, 300); }
	);

	//Footer List
	$('.footerList li a').hover(
		function () { $(this).stop().animate({ opacity: '0' }, 400); },
		function () { $(this).stop().animate({ opacity: '1' }, 600); }
	);
	//Created By
	$('.createdby').hover(
		function () { $(this).stop().animate({ opacity: '0' }, 600); },
		function () { $(this).stop().animate({ opacity: '1' }, 800); }
	);

	//Portfolio Images
	$('.pImgs').captify({
		//Mouseover speed
		speedOver: 'normal',
		//Mouseout speed
		speedOut: 'normal',
		//Mouseout caption delay (ms)
		hideDelay: 200,
		//fade/slide/always-on
		animation: 'slide',
		//Caption beginning (text/html)
		prefix: '',
		//Caption opacity
		opacity: '0.7',
		//Caption class
		className: 'caption-bottom',
		//Caption position (top/bottom)
		position: 'bottom',
		//Caption span (%)
		spanWidth: '100%'
	});

});
