How to make an expand and collapse function?
Autor: Anna-Maria Andersson
Visitado 2569,
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
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
Hi
you can also check x5tuts we have some accordion tutorials on there aswell
Regards
jamie