[jQuery] Same effect for multiple classes
Hey,
I am trying to create something similar to an Accordion effect using
jQuery but some some modifications. I have a <ul> with a bunch of
elements inside (<li>). When you click say a link within the <li>
slide a <div> down to reveal a quick description about the post. The
part I am stuck at is, how do I use the selector for each.
I do not want to make a section of code to animate for each one, is
there a way to use each() to create each segment for each header, you
can check it at the right section of my page under the header "ALL THE
GOODS"
Any thoughts? I have been trying to get this for awhile with no luck.
Thanks,
Ryan