CLICK HERE TO BUY IT TODAY! OR GET IT FREE VIA TRIALPAY  

PHP Demo Application - Source Code

/Framework/Model/Vendor/jquery-ui/development-bundle/ui/jquery.effects.highlight.js



/*
 * jQuery UI Effects Highlight 1.8.4
 *
 * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Effects/Highlight
 *
 * Depends:
 *    jquery.effects.core.js
 */
(function( $, undefined ) {
	$.effects.highlight = function(o) {
		    return this.queue(function() {
			        var elem = $(this),
			            props = ['backgroundImage''backgroundColor''opacity'],
			            mode = $.effects.setMode(elemo.options.mode || 'show'),
			            animation = {
				                backgroundColorelem.css('backgroundColor')
				            };
			        if (mode == 'hide') {
				            animation.opacity 0;
				        }
			        $.effects.save(elemprops);
			        elem
			            .show()
			            .css({
				                backgroundImage'none',
				                backgroundColoro.options.color || '#ffff99'
				            })
			            .animate(animation, {
				                queuefalse,
				                durationo.duration,
				                easingo.options.easing,
				                complete: function() {
					                    (mode == 'hide' && elem.hide());
					                    $.effects.restore(elemprops);
					                    (mode == 'show' && !$.support.opacity && this.style.removeAttribute('filter'));
					                    (o.callback && o.callback.apply(thisarguments));
					                    elem.dequeue();
					                }
				            });
			    });
		};
	})(jQuery);





PHP Demo Source Code Index