I think this is what you're looking for:

add(new AjaxLink("myLink") {
  protected void onClick(AjaxTarget target) {
    target.appendJavascript(new Effect.Fade(myPanel).toJavascript());
  }
});

On 10/16/07, Nick Heudecker <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I'm looking for some examples using wicket-contrib-scriptaculous
> Effects.  I
> looked around the examples project and didn't find
> anything.  Specifically,
> I'm looking to make a panel fade out when a link inside the panel is
> clicked.  Any help is appreciated.  Thanks.
>
> -Nick
>

Reply via email to