[support] JS "more" link

Anthony Malkoun malkouna at yahoo.com.au
Wed Nov 30 20:21:57 UTC 2011


I don't know if I've missed the point, but could you put your "more" 
data (if you're populating the data yourself) into a fieldset and set 
'#collapsible' and '#collapsed' to true to get a similar result?

Malks.

On 6:59 AM, Gregg Marshall wrote:
>
> Nancy
>
> I remember doing this with a tiny amount of Javascript/jQuery. A quick 
> google shows this example: 
> http://www.cssnewbie.com/example/showhide-content/
>
> Gregg Marshall
>
> *From:*support-bounces at drupal.org [mailto:support-bounces at drupal.org] 
> *On Behalf Of *Nancy E Wichmann
> *Sent:* Tuesday, November 29, 2011 9:41 AM
> *To:* support at drupal.org
> *Subject:* [support] JS "more" link
>
> I need to create a block that shows all the recently added content; 
> this is not a problem. What they want, however, is to show the first 5 
> entries with a “more” link that shows the whole list. I assume some 
> kind of javascript is doing this. Does anyone know of a way to 
> accomplish this? Is there maybe something in jQuery that does it?
>
> Nancy
>
> Sometimes the answer is easy and the question is complicated. -- Dr. Seuss
>


More information about the support mailing list