Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-22 13:42:15

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

show and hide excerpt & body

I’d like to do the following with my articles preview:

- on article page display excerpt by default and provide a link to body text
- when clicked open body text and hide excerpt text (and vice versa)…and this all should happen on the same page.

Thank you for your help!

Offline

#2 2007-11-22 14:37:45

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: show and hide excerpt & body

I think you need javascript for that. You could take a look into jQuery. There a lot of examples doing that, for example this one.


Regards,

Joey

Offline

Board footer

Powered by FluxBB