Last change
on this file since 24245 was 24245, checked in by sjb48, 13 years ago |
Oran code for supporting format changes to document.
|
-
Property svn:executable
set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | <!doctype html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <title>Resizable Visual Test : Resizable ticket #4199</title>
|
---|
5 | <link rel="stylesheet" href="../visual.css" type="text/css" />
|
---|
6 | <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css" />
|
---|
7 | <script type="text/javascript" src="../../../jquery-1.4.1.js"></script>
|
---|
8 | <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
---|
9 | <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
---|
10 | <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
|
---|
11 | <script type="text/javascript" src="../../../ui/jquery.ui.resizable.js"></script>
|
---|
12 | <script type="text/javascript">
|
---|
13 | $(function() {
|
---|
14 | $("#resizable").resizable({
|
---|
15 | containment:"#container",
|
---|
16 | aspectRatio: true
|
---|
17 | });
|
---|
18 | });
|
---|
19 | </script>
|
---|
20 | <style type="text/css">
|
---|
21 | #container { width: 250px; height: 250px; border: 1px solid black; }
|
---|
22 | #resizable { background: gray; width: 70px; height: 30px; }
|
---|
23 | </style>
|
---|
24 | </head>
|
---|
25 | <body>
|
---|
26 |
|
---|
27 | <h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/4199">#4199 - resizable with containment boundary - aspectRatio breaks.</a></h1>
|
---|
28 |
|
---|
29 | <div id="container">
|
---|
30 |
|
---|
31 | <div id="resizable">Resizable</div>
|
---|
32 |
|
---|
33 | </div>
|
---|
34 |
|
---|
35 | </body>
|
---|
36 | </html>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.