diff options
Diffstat (limited to 'demos/effect/toggleClass.html')
-rw-r--r-- | demos/effect/toggleClass.html | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/demos/effect/toggleClass.html b/demos/effect/toggleClass.html index 20161a81a..e1e3778ce 100644 --- a/demos/effect/toggleClass.html +++ b/demos/effect/toggleClass.html @@ -4,8 +4,6 @@ <meta charset="utf-8"> <title>jQuery UI Effects - toggleClass Demo</title> <link rel="stylesheet" href="../../themes/base/all.css"> - <script src="../../external/jquery/jquery.js"></script> - <script src="../../ui/effect.js"></script> <link rel="stylesheet" href="../demos.css"> <style> .toggler { width: 500px; height: 200px; position: relative; } @@ -13,12 +11,11 @@ #effect {position: relative; width: 240px; padding: 1em; letter-spacing: 0; font-size: 1.2em; border: 1px solid #000; background: #eee; color: #333; } .newClass { text-indent: 40px; letter-spacing: .4em; width: 410px; height: 100px; padding: 30px; margin: 10px; font-size: 1.6em; } </style> - <script> - $(function() { + <script src="../../external/requirejs/require.js"></script> + <script src="../bootstrap.js"> $( "#button" ).on( "click", function() { $( "#effect" ).toggleClass( "newClass", 1000 ); }); - }); </script> </head> <body> |