2009-09-15 14:43:37 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Dialog Visual Test : Dialog ticket #4826</title>
|
|
|
|
<link rel="stylesheet" href="../visual.css" type="text/css" />
|
|
|
|
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
|
2010-01-27 12:29:43 +00:00
|
|
|
<script type="text/javascript" src="../../../jquery-1.4.1.js"></script>
|
2010-01-14 18:09:07 +00:00
|
|
|
<script type="text/javascript" src="../../../external/jquery.bgiframe-2.1.1.js"></script>
|
2009-09-17 10:39:12 +00:00
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
|
2009-12-16 22:20:18 +00:00
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
|
2009-09-17 10:39:12 +00:00
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
|
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
|
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.resizable.js"></script>
|
|
|
|
<script type="text/javascript" src="../../../ui/jquery.ui.dialog.js"></script>
|
2009-09-15 14:43:37 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
|
|
|
|
|
|
|
$('#dialog').dialog({ resizable: false });
|
|
|
|
|
|
|
|
$('#handle').click(function() {
|
|
|
|
$('#dialog')
|
|
|
|
.dialog('option', {
|
|
|
|
resizable: false
|
|
|
|
})
|
|
|
|
.dialog('open');
|
|
|
|
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/4826">#4826 - Setting resizable false toggles resizable on dialog</a></h1>
|
|
|
|
|
|
|
|
<button id="handle">Click me!</button>
|
|
|
|
<div id="dialog" title="Dialog Title">
|
|
|
|
<p id="msg">I should <strong>NEVER</strong> be resizable!</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|