wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Wicket collapsable panel
Date Wed, 17 Apr 2019 10:13:25 GMT
On Wed, Apr 17, 2019 at 1:00 PM Sibgha Nazir <sibgha360@gmail.com> wrote:

> Is it possible to get a transition effect with this method? I.e. opening
> and closing of tjr panel.
>

Sure!
You can use jQuery (comes with Wicket) or any other JS based solution to do
the animation.
See jQuery slide and fade methods.
Also you may find this article interesting:
http://wicketinaction.com/2013/02/replace-components-with-animation/


>
> On Tue, Apr 16, 2019, 09:04 Ernesto Reinaldo Barreiro <reiern70@gmail.com
> wrote:
>
> > Hi,
> >
> > There are several ways to do this. E.g
> >
> > 1- Use javascript at client side and just hide nent of panel (bound to
> the
> > link that toggles the panel)
> > 2- Use wicket AJAX and content.steVisible(false|true) where content is
> the
> > panel containing you "box" content. This logic attached to the AJAX link
> > closing/opening box.
> >
> >
> >
> > On Mon, Apr 15, 2019 at 10:28 PM Sibgha Nazir <sibgha360@gmail.com>
> wrote:
> >
> > > Hi,
> > >
> > > I am looking for a way to create a panel that opens and closes from one
> > > side of the container. I havent been lucky enough to find a related
> thing
> > > on internet.
> > >
> > > Can anybody hint me?
> > >
> > > Thanks.
> > >
> >
> >
> > --
> > Regards - Ernesto Reinaldo Barreiro
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message