Hi!
Thanks for getting back to me.
Yes, I had a look a the to and from methods and thought this was the obvious answer, but could not get it to work.
I suspect that everytime I replace the html inside the content-container, I am removing a reference to the element to the dynamic-content div. Therefore, I thought it might work by getting a new reference on the click handler function, but still no luck.
Here is a link to a demo on codepen:
http://codepen.io/Thimey/pen/oLOLxj?editors=1111
So when I click on the content, I want it to randomly populate the div with content from the array and transition with an animation --> Fade out to the left and Fade in from the right.
Thanks for your time!