]> source.dussan.org Git - jquery-ui.git/commitdiff
effects: demo visualising easing functions, tuning
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 23 Apr 2009 22:24:43 +0000 (22:24 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 23 Apr 2009 22:24:43 +0000 (22:24 +0000)
demos/effect/easing.html

index 567112ac1866b3bb93e2ecc8dd3549a828b65420..8fa0ed88f92ecbce8d036beb54f4a11a6a55e697 100644 (file)
@@ -11,7 +11,7 @@
                        float: left;\r
                        margin-left: 10px;\r
                        width: 100px;\r
-                       height: 160px;\r
+                       height: 120px;\r
                }\r
        </style>\r
        <script type="text/javascript">\r
@@ -28,7 +28,7 @@
                        var graph = $("<div/>").addClass("graph").appendTo("#graphs");\r
                        $("<div/>").text(++i + ". " + name).appendTo(graph);\r
                        \r
-                       var canvas = $("<canvas/>").appendTo(graph)[0]\r
+                       var canvas = $("<canvas/>").width(100).height(100).appendTo(graph)[0]\r
                        canvas.width = 100;\r
                        canvas.height = 135;\r
                        var ctx = canvas.getContext("2d");\r