CSS-Tricks / MovingBoxes

Simple horizontal slider which grows up the current box when it's in focus (image, title & text) and back down when it's not in focus.
http://css-tricks.github.io/MovingBoxes/
GNU Lesser General Public License v3.0
280 stars 147 forks source link

Callbacks added #7

Closed Olli closed 13 years ago

Olli commented 14 years ago

Callbacks before returnToNormal and after growBigger added

Mottie commented 13 years ago

Thanks for the idea... I modified your changes rather significantly because they needed to be inside the animation callback. I also changed the variables to just provide the base. The readme has been updated with more details.

Thanks again!

Olli commented 13 years ago

Thx - sorry for the work but I'm not so JS skilled. Now it's a lot more advanced :)