-
2 Jul 2010 12:52 AM #1Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 44
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 }); } });
-
4 Jul 2010 10:03 PM #2
-
4 Jul 2010 11:38 PM #3
-
27 Oct 2010 5:33 AM #4
thank you condor, was looking for such functionality...
Professional web developer / Software architect based in Yaounde - Cameroon
Ext 3.2.0
VS2K8 / .Net 3.5
C#
WCF
Nhibernate 2.1
LINQ
Castle ActiveRecord 2.1.2
Spring.NET 1.3.0
-
30 Oct 2010 6:21 AM #5
In IE 6 , After The window fadeout , there is a weird stuff block out the area. please check it. thks.
-
21 Nov 2010 1:52 AM #6
IE6? What is IE6? thats an browser from the last century.
IE is in my opinion strictly forbidden, but IE6 is beyond that.
Wow...I prefer an sister in the red-light district, to an brother with internet explorer..
-
30 Dec 2011 4:18 AM #7
Works, but if you have a borderlayout with collabsible regions wihtin your window, theses regions appear right after the fadeout ..
Extensions:
Ext.ux.DatePickerPlus (Multimonth,Multiselect,...)
Ext.ux.menu.StoreMenu - Ajax Store as menu-item config
Extended Window - Aero Shadows, nested grayscaled modal windows
Ext.MessageBox.promptCombo/promptRadio/promptCheckbox
Ext.ux.plugin.triggerfieldTooltip (for Comboboxes, Datefields...)
Ext.util.MD5
Ext.util.Utf8 (encode/decode)
Ext.util.base64 (encode/decode)
Using:
ExtJS 3.4.1.1/4.2
XPsp3/W7sp1
IE8/9/10
FF 20
Chrome 26
-
8 Aug 2012 9:11 AM #8
How would you use this in a concrete example ?
Where do you put this code and where would you call it ?
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
