PDA

View Full Version : Sliding Effect/ Carousel Effect



abhigudi
10 Jan 2013, 9:17 AM
Hi ALL

I was looking for plugin or code that has the features of sliding in one component and sliding out other component like hide one and show other with sliding effects on click of forward button or Backward button.

Can anyone advice on this.I tried this it didn't work :(

<code>
var forwardbutton=Ext.create('Ext.Button', {
text: '<b>>></b>',
renderTo: 'forward',
handler: function() {
var opt = {
duration: 5000,
easing: 'easeOut',
callback: function(){
grid4.show();
grid.hide();
}
};
var el = Ext.get("grid-example3");
el.setWidth(270, opt);



}
});

</code>

mitchellsimoens
13 Jan 2013, 8:48 AM
Check out Ext.fx.Anim