CSS-Tricks/MovingBoxes

delay

Alfazo opened this issue · 5 comments

Hi,

is there any way to make a delay on the "next/previous" animation, like in anythingSlider?

I tried adding a delay to line 343 of the movingboxes.js, but to no avail.

You need a delay before animation?

Yeah, I'm using beforeAnimation to call a scrolltop, which will move the page vertically before moving the slideshow horizontally. In anythingSlider, setting the 'delay' option to the same value as the scrolltop, which is the effect I'm trying to replicate with movingboxes.

Ok, I'll look into adding this option.

Awesome, cheers!

I added a delay option named delayBeforeAnimate in version 2.3. Sorry for taking so long to get this done!