var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /* Copyright (c) 2011 detelu (http://www.detelu.com) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * jquery.fademover.js * Version: 2012-02-06 */ (function($){ $.fn.fadeMover = function(options) { var defaults = { 'effectType': 1, 'inSpeed': 800, 'outSpeed': 800, 'inDelay' : '0', 'outDelay' : '0', 'nofadeOut' : 'nonmover' }; var setting = $.extend(defaults, options); var cnt = $(this).length-1; this.each(function(i) { var pel = this; if(setting.effectType == 1 || setting.effectType == 2) { $(pel).css("opacity", 0).delay(i*setting.inDelay).animate({opacity: 1}, setting.inSpeed); } if(setting.effectType == 1 || setting.effectType == 3) { $('a').click(function(event) { var moveUrl = $(this).attr("href"); if(!$(this).hasClass(setting.nofadeOut) && moveUrl.charAt(0) != "#"){ event.preventDefault(); $(pel).delay(i*setting.outDelay).animate({"opacity": 0}, setting.outSpeed, function(){ if(cnt == i || setting.outDelay == '0') location.href = moveUrl; }); } }); } }); return this; } window.onunload = function () {}; })(jQuery); }