corrade-http-templates – Blame information for rev 57

Subversion Repositories:
Rev:
Rev Author Line No. Line
57 office 1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>jQuery UI Resizable - Synchronous resize</title>
7 <link rel="stylesheet" href="../../themes/base/all.css">
8 <link rel="stylesheet" href="../demos.css">
9 <style>
10 #resizable { background-position: top left; }
11 #resizable, #also { width: 150px; height: 120px; padding: 0.5em; }
12 #resizable h3, #also h3 { text-align: center; margin: 0; }
13 #also { margin-top: 1em; }
14 </style>
15 <script src="../../external/requirejs/require.js"></script>
16 <script src="../bootstrap.js">
17 $( "#resizable" ).resizable({
18 alsoResize: "#also"
19 });
20 $( "#also" ).resizable();
21 </script>
22 </head>
23 <body>
24  
25 <div id="resizable" class="ui-widget-header">
26 <h3 class="ui-state-active">Resize</h3>
27 </div>
28  
29 <div id="also" class="ui-widget-content">
30 <h3 class="ui-widget-header">will also resize</h3>
31 </div>
32  
33 <div class="demo-description">
34 <p>Resize multiple elements simultaneously by clicking and dragging the sides of one. Pass a shared selector into the <code>alsoResize</code> option.</p>
35 </div>
36 </body>
37 </html>