You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by John <jo...@quivinco.com> on 2013/09/27 10:44:05 UTC

dynamically revealing a block

Hi,

I'd like to display a division and then when the user clicks in it have am inner part of it appear/expand.

It's for use in a mail reader style page where the user sees the last message from someone but can click to see the whole conversation.

Any ideas how to Tapestry this?

regards,
John

Re: dynamically revealing a block

Posted by John <jo...@quivinco.com>.
I don't want to pass all the content in the initial render, rather when the block is to be revealed it obtains the content to render by ajax to the associated component. So I think I must use a zone somehow.

John
  ----- Original Message ----- 
  From: Lance Java 
  To: Tapestry users 
  Sent: Friday, September 27, 2013 10:00 AM
  Subject: Re: dynamically revealing a block


  This is a pure javascript question, not really related to tapestry. jQuery
  toggle() and show() will do it (and also support animations).

  http://api.jquery.com/toggle/
  http://api.jquery.com/show/

Re: dynamically revealing a block

Posted by Lance Java <la...@googlemail.com>.
This is a pure javascript question, not really related to tapestry. jQuery
toggle() and show() will do it (and also support animations).

http://api.jquery.com/toggle/
http://api.jquery.com/show/

Re: dynamically revealing a block

Posted by Eugen <eu...@gmail.com>.
Hi,
see bootstrap collapse module http://getbootstrap.com/javascript/#collapse

2013/9/27 John <jo...@quivinco.com>:
> Hi,
>
> I'd like to display a division and then when the user clicks in it have am inner part of it appear/expand.
>
> It's for use in a mail reader style page where the user sees the last message from someone but can click to see the whole conversation.
>
> Any ideas how to Tapestry this?
>
> regards,
> John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org