How to make an expand and collapse function?
Author: Anna-Maria Andersson
Visited 2604,
Followers 1,
Shared 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?
Posted on the
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