Threaded View
-
2 Jul 2010 12:52 AM #1Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 40
Window with fadeIn/fadeOut animation
Window with fadeIn/fadeOut animation
This gets asked a lot, so I thought I post it here:
Code:Ext.ns('Ext.ux'); Ext.ux.FadeInWindow = Ext.extend(Ext.Window, { animateTarget : true, setAnimateTarget : Ext.emptyFn, animShow : function(){ this.el.fadeIn({ duration: .25, callback: this.afterShow.createDelegate(this, [true], false), scope: this }); }, animHide : function(){ if (this.el.shadow) { this.el.shadow.hide(); } this.el.fadeOut({ duration: .25, callback: this.afterHide, scope: this }); } });
Similar Threads
-
fadeIn/fadeOut only works first time in Internet Explorer 7
By staticboy in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 20 Jun 2012, 11:10 AM -
FX problem in IE6 (specifically fadeIn & fadeOut)
By mjpetts in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 4 Mar 2008, 2:56 PM -
viewport and simple fadein fadeout effect
By italoc in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 21 Feb 2008, 11:03 AM -
[SOLVED] Toolbar fadeIn/fadeOut animation on mouseover/mouseout problem
By ngeorgopoulos in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 21 Feb 2008, 1:46 AM -
Odd behavior with fadeIn and fadeOut
By wolfbane in forum Ext 1.x: Help & DiscussionReplies: 0Last Post: 24 Oct 2007, 4:29 PM


Reply With Quote