Hi,

Please read
http://wicketinaction.com/2013/02/replace-components-with-animation/

Martin Grigorov
Freelancer, available for hire!
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Wed, Apr 1, 2015 at 9:23 AM, avchavan <[email protected]> wrote:

> Hi, I am trying to smoothly animate Ajax DOM manipulation of components in
> my
> application.
>
> Here's the code:
> descriptionContainer.setVisible(true);
>                         listContainer.add(new AttributeModifier("class",
> "infoOrangeLight"));
>                         descriptionContainer.add(new
> DisplayNoneBehavior());
>
>
> target.appendJavaScript("$('#"+descriptionContainer.getMarkupId()+"').slideDown(1000);");
>                         target.add(listContainer);
>                         target.add(descriptionContainer);
>
> Now the problem is this code has no slide down effect when i try to test it
> in browser.
> Its an accordion like functionality that i am trying to achieve here. where
> folding unfolding happens. with wicket its jerky which i want to make a bit
> smoother.
> Can anybody please help me out with this?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Animate-ajax-DOM-manipulation-smoothly-tp4670132.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to