Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Jquery Animation

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 235
    Comment on it

    Jquery animate() method is used to animate any element in the web page. It allow us to create custom animations.
    The syntax for this:

    $(selector).animate({params},speed,callback);

    The parameters of animate() mehod are:

    The params parameter defines the properties of CSS to be animated. The speed parameter is the duration of effect. It can be "slow" ,"fast" or "milliseconds". The callback parameter defines the function that is to be executed after the animation completes

    .

    Note: By default all html elements have a static position. So we must set the CSS position property of the element to fixed, absolute or relative.

    The following example demonstrates the use of animate() method on images:

    HTML:

    Note:You can see the demo of this example from the given file.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: