Like that?
var tl = new TimelineMax();
tl.add( TweenLite.to(middle_overlay, 2, {delay: 1, display: 'block', width: 0, repeat: 2, yoyo: true}));
tl.add( TweenLite.to([top_overlay, bottom_overlay], 1, {autoAlpha: 1, height: 0, ease: Power4.easeInOut}));
tl.add( TweenLite.to([h1, p], 1, {autoAlpha: 1, x: '0%', ease: Power3.easeInOut}));
$('.button1').click(function(event) {
tl.from([top_overlay, bottom_overlay], 1, {autoAlpha: 1, height: 0, ease: Power4.easeInOut});
tl.play();
});
Doesn't work!