Пример #1
0
 animateToDefaultWidth : function(){
     if (this.animateControl)
         this.animateControl.stop();
     
     var i = 0, toWidth = colLeft.getWidth();
     if (apf.isTrue(settings.model.queryValue('general/@animateui'))) {
         apf.tween.single(navbar.$ext, {
             type: "width",
             from: navbar.getWidth(),
             to: toWidth,
             steps : 10,
             interval : apf.isChrome ? 0 : 5,
             control : this.animateControl = {},
             anim : apf.tween.easeOutCubic,
             oneach : function(){
                 if (i++ == 4 && colLeft.getWidth() == 0)
                     apf.setStyleClass(navbar.$ext, "closed");
                 
                 apf.layout.forceResize();
             },
             onfinish : function(){
                 apf.layout.forceResize();
                 editors.continueTabResize();
             }
         });
     }
     else {
         navbar.$ext.style.width = toWidth + "px";
         apf.layout.forceResize();
         editors.continueTabResize();
     }
 },
Пример #2
0
 onfinish : function(){
     if (toWin) {
         toWinExt.style.zIndex = zIndex2;
         toWinExt.style.position = 
         toWinExt.style.left = 
         toWinExt.style.top = 
         toWinExt.style.height =
         toWinExt.style.width = "";
         apf.setOpacity(toWinExt, 1);
         
         colLeft.setAttribute("minwidth", toWin.minwidth);
     }
     if (win) {
         winExt.style.zIndex = zIndex;
         winExt.style.position = 
         winExt.style.left = 
         winExt.style.top = 
         winExt.style.height =
         winExt.style.width = "";
         apf.setOpacity(winExt, 1);
         win.hide();
         
         if (!toWin)
             colLeft.hide();
     }
     
     editors.continueTabResize();
     
     _self.animating = false;
 }
Пример #3
0
 }, function(){
     apf.setStyleClass(navbar.$int, "closed");
     apf.layout.forceResize();
     editors.continueTabResize();
 });
Пример #4
0
 onfinish : function(){
     apf.layout.forceResize();
     editors.continueTabResize();
 }