I want to do two fairly basic animations on this page and they are essentially the same:
#1 - When "portfolio" is clicked, I want the spotlights to slide in from the left and right respectively, from outside the viewport to their location shown. When any other button is clicked, I want them to disappear the same way.
#2 - Again, when portfoilo is clicked, I want the 'web' and 'print' menus to slide in from the left and right respectively, and whichever one is clicked, the other one disappears.
I've got the animation code from http://daneden.me/animate/, and the instructions from https://github.com/daneden/animate.css, (I apologize, I know I'm straying into jQuery here a bit) but under 'Usage' on the github page I don't understand where that jQuery code goes.
I don't know about this positioning, seems to me it shouldn't be 'relative' but when I make it absolute the animation doesn't work at all. I'd be most grateful for some help with this.