@roXon solved this. See his response below should you be interested in using this.
I’m using the jquery’s ‘tabs’ plus a ‘read more’ functionality for each of my articles, but the read more is not functioning as it should. The ‘read more’ is not extending to each of my articles, it’s only working on the first (top) article.
DEMO
used:
$(this).parent().prev('.wrap').animate({You had an extra comma and some little errors.
What have I done to make it work:
on top I created an
eachmethod for your .wrap – to store into.data()each .wrap height.Than I isolated the script
ifthat checks if the .wrap need to have the ‘footer’ read more.Than I just edited a bit your codes to get the good element to trigger and the search for the proper .data height for the right .wrap element: