Professional Documents
Culture Documents
(g+2*c.popOutMargin);b.children(".adipoli-after").height(h+2*c.popOutMargin);b.c
hildren(".adipoli-after").css({left:"-"+c.popOutMargin+"px",top:"-"+c.popOutMarg
in+"px","box-shadow":"0px 0px "+c.popOutShadow+"px #000"}).show()}else if(c.hove
rEffect=="sliceDown"||c.hoverEffect=="sliceDownLeft"||c.hoverEffect=="sliceUp"||
c.hoverEffect=="sliceUpLeft"||c.hoverEffect=="sliceUpRandom"||c.hoverEffect=="sl
iceDownRandom"){a(this).children(".adipoli-after").show();d(a(this),c);var j=0;v
ar k=0;var l=a(".adipoli-slice",a(this));if(c.hoverEffect=="sliceDownLeft"||c.ho
verEffect=="sliceUpLeft")l=a(".adipoli-slice",a(this))._reverse();if(c.hoverEffe
ct=="sliceUpRandom"||c.hoverEffect=="sliceDownRandom")l=f(a(".adipoli-slice",a(t
his)));l.each(function(){var b=a(this);if(c.hoverEffect=="sliceDown"||c.hoverEff
ect=="sliceDownLeft"){b.css({top:"0px"})}else if(c.hoverEffect=="sliceUp"||c.hov
erEffect=="sliceUpLeft"){b.css({bottom:"0px"})}if(k==c.slices-1){setTimeout(func
tion(){b.animate({height:"100%",opacity:"1.0"},c.animSpeed,"",function(){})},100
+j)}else{setTimeout(function(){b.animate({height:"100%",opacity:"1.0"},c.animSpe
ed)},100+j)}j+=50;k++})}else if(c.hoverEffect=="sliceUpDown"||c.hoverEffect=="sl
iceUpDownLeft"){a(this).children(".adipoli-after").show();d(a(this),c);j=0;k=0;v
ar m=0;l=a(".adipoli-slice",a(this));if(c.hoverEffect=="sliceUpDownLeft")l=a(".a
dipoli-slice",a(this))._reverse();l.each(function(){var b=a(this);if(k==0){b.css
("top","0px");k++}else{b.css("bottom","0px");k=0}if(m==c.slices-1){setTimeout(fu
nction(){b.animate({height:"100%",opacity:"1.0"},c.animSpeed,"",function(){})},1
00+j)}else{setTimeout(function(){b.animate({height:"100%",opacity:"1.0"},c.animS
peed)},100+j)}j+=50;m++})}else if(c.hoverEffect=="fold"||c.hoverEffect=="foldLef
t"){a(this).children(".adipoli-after").show();b=a(this);d(b,c);j=0;k=0;l=a(".adi
poli-slice",b);if(c.hoverEffect=="foldLeft")l=a(".adipoli-slice",a(this))._rever
se();l.each(function(){var b=a(this);var d=b.width();b.css({top:"0px",height:"10
0%",width:"0px"});if(k==c.slices-1){setTimeout(function(){b.animate({width:d,opa
city:"1.0"},c.animSpeed,"",function(){})},100+j)}else{setTimeout(function(){b.an
imate({width:d,opacity:"1.0"},c.animSpeed)},100+j)}j+=50;k++})}else if(c.hoverEf
fect=="boxRandom"){a(this).children(".adipoli-after").show();b=a(this);e(b,c);va
r n=c.boxCols*c.boxRows;k=0;j=0;var o=f(a(".adipoli-box",b));o.each(function(){v
ar b=a(this);if(k==n-1){setTimeout(function(){b.animate({opacity:"1"},c.animSpee
d,"",function(){})},100+j)}else{setTimeout(function(){b.animate({opacity:"1"},c.
animSpeed)},100+j)}j+=20;k++})}else if(c.hoverEffect=="boxRain"||c.hoverEffect==
"boxRainReverse"||c.hoverEffect=="boxRainGrow"||c.hoverEffect=="boxRainGrowRever
se"){a(this).children(".adipoli-after").show();b=a(this);e(b,c);n=c.boxCols*c.bo
xRows;k=0;j=0;var p=0;var q=0;var r=new Array;r[p]=new Array;o=a(".adipoli-box",
b);if(c.hoverEffect=="boxRainReverse"||c.hoverEffect=="boxRainGrowReverse"){o=a(
".adipoli-box",b)._reverse()}o.each(function(){r[p][q]=a(this);q++;if(q==c.boxCo
ls){p++;q=0;r[p]=new Array}});for(var s=0;s<c.boxCols*2;s++){var t=s;for(var u=0
;u<c.boxRows;u++){if(t>=0&&t<c.boxCols){(function(b,d,e,f,g){var h=a(r[b][d]);va
r i=h.width();var j=h.height();if(c.hoverEffect=="boxRainGrow"||c.hoverEffect=="
boxRainGrowReverse"){h.width(0).height(0)}if(f==g-1){setTimeout(function(){h.ani
mate({opacity:"1",width:i,height:j},c.animSpeed/1.3,"",function(){})},100+e)}els
e{setTimeout(function(){h.animate({opacity:"1",width:i,height:j},c.animSpeed/1.3
)},100+e)}})(u,t,j,k,n);k++}t--}j+=100}}});a(this).parent().bind("mouseleave",fu
nction(){a(this).children(".adipoli-after").html("").hide()})}).each(function(){
if(this.complete)a(this).load()});return a(this)};a.fn._reverse=[].reverse})(jQu
ery)