Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
Node is saved as draft in My Content >> Draft
  • JQuery aminate() Method

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 11
    Comment on it
    Jquery animate() method performs a custom animation of a set of CSS properties to change the state of an element from one to another. Only numeric values can be animated (like height: "100px"). But string values cannot be animated (like "background-color:green"). **Syntax:** $(selector).animate( {styles}, speed, easing, callback) where
    PARAMETER DESCRIPTION Required/Optional
    styles It determines the css property to animate. The property should be camel-cased like marginLeft instead of margin-left. Required
    speed Specifies the speed of the animation (fast, slow, milliseconds). Default value is 400 milliseconds. Optional
    easing Specifies the speed of the element in different points of the animation (like swing, linear). Default value is swing. Optional
    callback This function to be executed after the animation completes. Optional

     

    **Example:** <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> $(document).ready(function() { $("button").click(function() { $("div").animate({left: '150px'}, 3000); }); }); </script>
    Enter Tags Name

 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: