Im trying to make a delay between the animation and the toggling between hidden and visible of the transbox, the code works perfectly without a delay function (but everything loads at once), am i doing the delay function wrong?
http://jsfiddle.net/qWszS/2/
Im trying to make a delay between the animation and the toggling between hidden
Share
You have a number of problems with your code. I’ve made some changes to it, that should do the same thing:
You didn’t set any time for setTimout, so I removed it. You can add it back in if you want to execute the animation and show the elements at a later time.
I’ve selected .go2 – .go6 with a single selector.
Edit: Made some corrections to the example.