jquery animate - dead simple
- by danit
All I want to do is on .click() is .animate #slip, essentially Im changing the css at the moment from top: 10px to top: 0px
Instead of it being quite clunky i'd like to animate the movement on the change of CSS.
Currently use .toggleClass to achieve this:
$("#div1").click(function() {
$("#div2t").toggleClass('min');
});