WebSite X5Help Center

 
Anna-Maria Andersson
Anna-Maria Andersson
User

How to make an expand and collapse function?  en

Autor: Anna-Maria Andersson
Besucht 2532, Followers 1, Geteilt 0  

I would like the user of my website to be able to unfold text sections on a given page by clicking an 'Expand/collapse' button. Is such a function available in the Website X5 Professional 11 version?

Gepostet am
2 ANTWORTEN
Paul M.
Paul M.
Moderator

Hello Anna-Maria,

Professional 11 doesn't include this functionality as a native feature, however it is possible to add it without too much difficulty using the options within WebSite X5 which allow you to insert custom code.

The official jQuery documentation is here:

https://jqueryui.com/accordion/

And here is a nice tutorial which should answer most questions about how to go about this:

http://inspirationalpixels.com/tutorials/creating-an-accordion-with-html-css-jquery

Kind regards,

Paul

Mehr lesen
Gepostet am von Paul M.
Jamie B.
Jamie B.
User

Hi

you can also check x5tuts we have some accordion tutorials on there aswell

Regards

jamie

Mehr lesen
Gepostet am von Jamie B.