rem: YAHOO.util.Dom.setStyle(obj.overlay.element,"visibility","hidden");YAHOO.util.Dom.setStyle(obj.overlay.element,"opacity",1);obj.overlay.cfg.refireEvent("iframe");obj.animateOutCompleteEvent.fire();};fade.init();return fade;};YAHOO.widget.ContainerEffect.SLIDE=function(overlay,dur){var x=overlay.cfg.getProperty("x")||YAHOO.util.Dom.getX(overlay.element);var y=overlay.cfg.getProperty("y")||YAHOO.util.Dom.getY(overlay.element);var clientWidth=YAHOO.util.Dom.getClientWidth();var offsetWidth=overlay.element.offsetWidth;var slide=new YAHOO.widget.ContainerEffect(overlay,{attributes:{points:{to:[x,y]}},duration:dur,method:YAHOO.util.Easing.easeIn},{attributes:{points:{to:[(clientWidth+25),y]}},duration:dur,method:YAHOO.util.Easing.easeOut},overlay.element,YAHOO.util.Motion);slide.handleStartAnimateIn=function(type,args,obj){obj.overlay.element.style.left=(-25-offsetWidth)+"px";obj.overlay.element.style.top=y+"px";};slide.handleTweenAnimateIn=function(type,args,obj){var pos=YAHOO.util.Dom.getXY(obj.overlay.element);var currentX=pos[0];var currentY=pos[1];if(YAHOO.util.Dom.getStyle(obj.overlay.element,"visibility")=="hidden"&&currentX<x){YAHOO.util.Dom.setStyle(obj.overlay.element,"visibility","visible");} obj.overlay.cfg.setProperty("xy",[currentX,currentY],true);obj.overlay.cfg.refireEvent("iframe");};slide.handleCompleteAnimateIn=function(type,args,obj){obj.overlay.cfg.setProperty("xy",[x,y],true);obj.startX=x;obj.startY=y;obj.overlay.cfg.refireEvent("iframe");obj.animateInCompleteEvent.fire();};slide.handleStartAnimateOut=function(type,args,obj){var vw=YAHOO.util.Dom.getViewportWidth();var pos=YAHOO.util.Dom.getXY(obj.overlay.element);var yso=pos[1];var currentTo=obj.animOut.attributes.points.to;obj.animOut.attributes.points.to=[(vw+25),yso];};slide.handleTweenAnimateOut=function(type,args,obj){var pos=YAHOO.util.Dom.getXY(obj.overlay.element);var xto=pos[0];var yto=pos[1];obj.overlay.cfg.setProperty("xy",[xto,yto],true);obj.overlay.cfg.refireEvent("iframe");};slide.handleCompleteAnimateOut=function(type,args,obj){YAHOO.util.Dom.setStyle(obj.overlay.element,"visibility","hidden");obj.overlay.cfg.setProperty("xy",[x,y]);obj.animateOutCompleteEvent.fire();};slide.init();return slide;}; 
add: YAHOO.widget.ContainerEffect.SLIDE = function(overlay, dur) { var x = overlay.cfg.getProperty("x") || YAHOO.util.Dom.getX(overlay.element); var y = overlay.cfg.getProperty("y") || YAHOO.util.Dom.getY(overlay.element);  var clientWidth = YAHOO.util.Dom.getClientWidth(); var offsetWidth = overlay.element.offsetWidth;  var slide = new YAHOO.widget.ContainerEffect(overlay, { attributes:{ points: { to:[x, y] } }, duration:dur, method:YAHOO.util.Easing.easeIn }, { attributes:{ points: { to:[(clientWidth+25), y] } }, duration:dur, method:YAHOO.util.Easing.easeOut }, overlay.element, YAHOO.util.Motion);   slide.handleStartAnimateIn = function(type,args,obj) { obj.overlay.element.style.left = (-25-offsetWidth) + "px"; obj.overlay.element.style.top  = y + "px"; };  slide.handleTweenAnimateIn = function(type, args, obj) {   var pos = YAHOO.util.Dom.getXY(obj.overlay.element);  var currentX = pos[0]; var currentY = pos[1];  if (YAHOO.util.Dom.getStyle(obj.overlay.element, "visibility") == "hidden" && currentX < x) { YAHOO.util.Dom.setStyle(obj.overlay.element, "visibility", "visible"); }  obj.overlay.cfg.setProperty("xy", [currentX,currentY], true); obj.overlay.cfg.refireEvent("iframe"); };  slide.handleCompleteAnimateIn = function(type, args, obj) { obj.overlay.cfg.setProperty("xy", [x,y], true); obj.startX = x; obj.startY = y; obj.overlay.cfg.refireEvent("iframe"); obj.animateInCompleteEvent.fire(); };  slide.handleStartAnimateOut = function(type, args, obj) { var vw = YAHOO.util.Dom.getViewportWidth();  var pos = YAHOO.util.Dom.getXY(obj.overlay.element);  var yso = pos[1];  var currentTo = obj.animOut.attributes.points.to; obj.animOut.attributes.points.to = [(vw+25), yso]; };  slide.handleTweenAnimateOut = function(type, args, obj) { var pos = YAHOO.util.Dom.getXY(obj.overlay.element);  var xto = pos[0]; var yto = pos[1];  obj.overlay.cfg.setProperty("xy", [xto,yto], true); obj.overlay.cfg.refireEvent("iframe"); };  slide.handleCompleteAnimateOut = function(type, args, obj) { YAHOO.util.Dom.setStyle(obj.overlay.element, "visibility", "hidden");  obj.overlay.cfg.setProperty("xy", [x,y]); obj.animateOutCompleteEvent.fire(); };  slide.init(); return slide; }; 
context: YAHOO.util.Dom.setStyle(obj.overlay.element,"visibility","hidden");YAHOO.util.Dom.setStyle(obj.overlay.element,"opacity",1);obj.overlay.cfg.refireEvent("iframe");obj.animateOutCompleteEvent.fire();};fade.init();return fade;};YAHOO.widget.ContainerEffect.SLIDE=function(overlay,dur){var x=overlay.cfg.getProperty("x")||YAHOO.util.Dom.getX(overlay.element);var y=overlay.cfg.getProperty("y")||YAHOO.util.Dom.getY(overlay.element);var clientWidth=YAHOO.util.Dom.getClientWidth();var offsetWidth=overlay.element.offsetWidth;var slide=new YAHOO.widget.ContainerEffect(overlay,{attributes:{points:{to:[x,y]}},duration:dur,method:YAHOO.util.Easing.easeIn},{attributes:{points:{to:[(clientWidth+25),y]}},duration:dur,method:YAHOO.util.Easing.easeOut},overlay.element,YAHOO.util.Motion);slide.handleStartAnimateIn=function(type,args,obj){obj.overlay.element.style.left=(-25-offsetWidth)+"px";obj.overlay.element.style.top=y+"px";};slide.handleTweenAnimateIn=function(type,args,obj){var pos=YAHOO.util.Dom.getXY(obj.overlay.element);var currentX=pos[0];var currentY=pos[1];if(YAHOO.util.Dom.getStyle(obj.overlay.element,"visibility")=="hidden"&&currentX<x){YAHOO.util.Dom.setStyle(obj.overlay.element,"visibility","visible");}obj.overlay.cfg.setProperty("xy",[currentX,currentY],true);obj.overlay.cfg.refireEvent("iframe");};slide.handleCompleteAnimateIn=function(type,args,obj){obj.overlay.cfg.setProperty("xy",[x,y],true);obj.startX=x;obj.startY=y;obj.overlay.cfg.refireEvent("iframe");obj.animateInCompleteEvent.fire();};slide.handleStartAnimateOut=function(type,args,obj){var vw=YAHOO.util.Dom.getViewportWidth();var pos=YAHOO.util.Dom.getXY(obj.overlay.element);var yso=pos[1];var currentTo=obj.animOut.attributes.points.to;obj.animOut.attributes.points.to=[(vw+25),yso];};slide.handleTweenAnimateOut=function(type,args,obj){var pos=YAHOO.util.Dom.getXY(obj.overlay.element);var xto=pos[0];var yto=pos[1];obj.overlay.cfg.setProperty("xy",[xto,yto],true);obj.overlay.cfg.refireEvent("iframe");};slide.handleCompleteAnimateOut=function(type,args,obj){YAHOO.util.Dom.setStyle(obj.overlay.element,"visibility","hidden");obj.overlay.cfg.setProperty("xy",[x,y]);obj.animateOutCompleteEvent.fire();};slide.init();return slide;};
meta: 7519	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7519/a404804dee65316d0532ea027a9b2b4337920506/container-min.js/buggy/src/resources-packaged/ops/javascript/yui/container-min.js