Hey,
I am trying to create a custom accordion for my page to that display my posts. I have it in list format using HTML and I am trying to create an effect when you click each header to expand to show more information.
But I don't want to have say 6 blocks of code for 6 of the <li>
elements I have on the page.
Is there a way to run it through .each(); perhaps? Instead of creating each section? Try a more dynamic approach.
I have check other sources and on google, nothing turned up.
Thanks,
Ryan