﻿/**
* ------------------------------------------------------------------------------------------------
* @author 	Leandro Mancini leandro@neotix.com.br
* @company  Neotix - Agência Interativa http://www.neotix.com.br/
* @version 	0.1
* ------------------------------------------------------------------------------------------------
*/

(function($){
	$.fn.neoHoverMais = function(options)
	{
		var defaults = {
			queue: false,
			duration: 600,
			easing: 'easeOutExpo',
			scale: '0.8deg',
			scaleHover: '1deg'
		};

		var options = $.extend(defaults, options);
		
		return this.each(function(){
			var $this = $(this);
			var data = $this.html();
			var newdata = $(document.createElement('span'));
			
			$this.append(newdata);
			
			$this.bind('mouseenter', function(e){
				$('span', this).stop().animate({
					scale: options.scaleHover
				},{
					queue: options.queue,
					duration: options.duration,
					easing: options.easing
				});
			}).bind('mouseleave', function(e){
				$('span', this).stop().animate({
					scale: options.scale
				},{
					queue: options.queue,
					duration: options.duration,
					easing: options.easing
				});
			});
		});
	};
})(jQuery); 


