Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

JQuery - Effect - Animate method

540 views

Published on

  • Be the first to comment

  • Be the first to like this

JQuery - Effect - Animate method

  1. 1. Effect - Animation .animate()
  2. 2. manual .animate()
  3. 3. Parameters: Properties, speed, easing, function) .animate({ property1 : 'value1', propertyN : 'valueN' }, speed, easing, function(){ alert('Animation animated.'); });
  4. 4. .animate({ Options) Parameters: Properties, property1: 'value1', propertyN: 'valueN' }, { duration: 'value', easing: 'value', complete: function(){ alert('Animation animated.'); }, queue: boolean, step: callback });
  5. 5. toggle effect animate() .animate({opacity:'toggle'}, 'slow');
  6. 6. Property property animate() .animate({ opacity:'toggle', height:'toggle' }, 'slow');
  7. 7. Property css() animate()
  8. 8. CSS element element css animate() CSS element position: relative;

×