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.5 KB
|
Line | |
---|
1 | <!doctype html>
|
---|
2 | <html lang="en">
|
---|
3 | <head>
|
---|
4 | <title>Dialog Visual Test : Dialog ticket #4826</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="../../../external/jquery.bgiframe-2.1.1.js"></script>
|
---|
9 | <script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
---|
10 | <script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
---|
11 | <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
|
---|
12 | <script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
|
---|
13 | <script type="text/javascript" src="../../../ui/jquery.ui.resizable.js"></script>
|
---|
14 | <script type="text/javascript" src="../../../ui/jquery.ui.dialog.js"></script>
|
---|
15 | <script type="text/javascript">
|
---|
16 | $(function() {
|
---|
17 |
|
---|
18 | $('#dialog').dialog({ resizable: false });
|
---|
19 |
|
---|
20 | $('#handle').click(function() {
|
---|
21 | $('#dialog')
|
---|
22 | .dialog('option', {
|
---|
23 | resizable: false
|
---|
24 | })
|
---|
25 | .dialog('open');
|
---|
26 |
|
---|
27 | return false;
|
---|
28 | });
|
---|
29 |
|
---|
30 | });
|
---|
31 | </script>
|
---|
32 | </head>
|
---|
33 | <body>
|
---|
34 |
|
---|
35 | <h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/4826">#4826 - Setting resizable false toggles resizable on dialog</a></h1>
|
---|
36 |
|
---|
37 | <button id="handle">Click me!</button>
|
---|
38 | <div id="dialog" title="Dialog Title">
|
---|
39 | <p id="msg">I should <strong>NEVER</strong> be resizable!</p>
|
---|
40 | </div>
|
---|
41 |
|
---|
42 | </body>
|
---|
43 | </html> |
---|
Note:
See
TracBrowser
for help on using the repository browser.