Sponsered Links
Categories
Sponsered Links

JQuery Animated Button

 

This is a simple JQuery Animated Button Example.

<html>
    <head>
        <title>JQuery Animated Button</title>
        <script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
        <script type="text/javascript" src="http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js"></script>
        <style>
            div {
                background-color:#E8F8FF;
                width:100px;
                border:1px solid #C2D7E6;
            }
        </style>
        <style>
            div {
                background-color:#E8F8FF;
                width:100px;
                border:1px solid #C2D7E6;
            }
        </style>
        <script>
            $(document).ready(function(){
                $("#click").click(function(){
                    $("#button").animate({
                        width: "50%", capacity: 0.1, marginLeft: "0.4in", fontSize: "1em", borderWidth: "5px"
                    }, 500 );
                });
            });
        </script>
    </head>
    <body>
        <button id="click">click here</button>
        <button><div id="button">Animated Button</button>
    </body>
</html>

 
 
Sponsered Links
Latest Updates
 
All Content of this site is for learning only. We do not warrant the correctness of its content. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright © 2009 JSPSERVLETTUTORIAL.INFO All Right Reserved