PDA

View Full Version : [CLOSED] Window : Shake or Bounce effect



matrixwebtech
Jan 14, 2015, 8:18 AM
Hi,can we add Shake/Bounce effect like jquery UI to window on buttonclick?
http://jqueryui.com/effect/


@X.ResourceManager()
@(
X.Window()
.ID("w")
.Items
(
X.Button().ID("button2")
.Text("Server Side")
.DirectEvents(de=>{
de.Click.Action = "Effent";

})
)
)
I need the effect on button click from server.

Daniil
Jan 14, 2015, 2:43 PM
Hi @matrixwebtech,

I don't see a bounce and shake animation effects built in Ext.NET or ExtJS, but the animation is supported.

For example,
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.fx.Anim
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.util.Animate
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.dom.Element-method-animate

There are some pre-built animations effects like:
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.dom.Element-method-highlight
http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.dom.Element-method-puff

You can start to investigate it. There is a way to get the desired effects.

I would also recommend you to search on the Ext.NET and Secnha forums. Maybe, someone shared something.