WebSite X5Help Center

 
Anna-Maria Andersson
Anna-Maria Andersson
User

How to make an expand and collapse function?  en

Autor: Anna-Maria Andersson
Visitado 2608, Seguidores 1, Compartilhado 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?

Publicado em
2 RESPOSTAS
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

Ler mais
Publicado em de Paul M.
Jamie B.
Jamie B.
User

Hi

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

Regards

jamie

Ler mais
Publicado em de Jamie B.