mikegiddens
26 Feb 2007, 3:37 PM
I was changing up some code and wanted to point this out to see if this is an issue.
This snip works great. Props for the inline animation.
Ext.get('error').hide().update(response.errorMessage).slideIn("t").pause(2).slideOut("t");
but it had side effect when I put
Ext.get('error').hide().update(response.errorMessage).slideIn("t").pause(2).slideOut("t").update("");
with the update at the end it never shows any code. and doesn't react to the pause.
or
Ext.get('error').hide().update(response.errorMessage).slideIn("t").pause(2).slideOut("t").hide();
uses the pause but never shows the text until it slides out.
If I am not using this right then could someone please advise. If this is a bug then I hope this helps.
Tested in: IE7, FireFox
This snip works great. Props for the inline animation.
Ext.get('error').hide().update(response.errorMessage).slideIn("t").pause(2).slideOut("t");
but it had side effect when I put
Ext.get('error').hide().update(response.errorMessage).slideIn("t").pause(2).slideOut("t").update("");
with the update at the end it never shows any code. and doesn't react to the pause.
or
Ext.get('error').hide().update(response.errorMessage).slideIn("t").pause(2).slideOut("t").hide();
uses the pause but never shows the text until it slides out.
If I am not using this right then could someone please advise. If this is a bug then I hope this helps.
Tested in: IE7, FireFox