Skip to content
Permalink
Browse files

dialog: changed shadow default to false. Not quite ready to be on by …

…default. Maybe in 1.next.
  • Loading branch information
rdworth committed Jan 31, 2009
1 parent 272391b commit 9f382c5814fc890f9f7a3792c7091e3a8675aee3
@@ -22,6 +22,7 @@ var defaults = {
modal: false,
position: 'center',
resizable: true,
shadow: false,
stack: true,
title: '',
width: 300
@@ -1,27 +1,27 @@
<!doctype html>
<html lang="en">
<head>
<title>Dialog Visual Test : Dialog option modal false</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
<script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
<script type="text/javascript">
$(function() {
$("#dialog").dialog({
modal: false
});
});
</script>
</head>
<body>

<div id="dialog" title="Dialog Title">
<p> Dialog Content </p>
</div>

</body>
</html>
<!doctype html>
<html lang="en">
<head>
<title>Dialog Visual Test : Dialog option modal false</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
<script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
<script type="text/javascript">
$(function() {
$("#dialog").dialog({
modal: false
});
});
</script>
</head>
<body>

<div id="dialog" title="Dialog Title">
<p> Dialog Content </p>
</div>

</body>
</html>
@@ -1,27 +1,27 @@
<!doctype html>
<html lang="en">
<head>
<title>Dialog Visual Test : Dialog option modal true</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
<script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
<script type="text/javascript">
$(function() {
$("#dialog").dialog({
modal: true
});
});
</script>
</head>
<body>

<div id="dialog" title="Dialog Title">
<p> Dialog Content </p>
</div>

</body>
</html>
<!doctype html>
<html lang="en">
<head>
<title>Dialog Visual Test : Dialog option modal true</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
<script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
<script type="text/javascript">
$(function() {
$("#dialog").dialog({
modal: true
});
});
</script>
</head>
<body>

<div id="dialog" title="Dialog Title">
<p> Dialog Content </p>
</div>

</body>
</html>
@@ -0,0 +1,27 @@
<!doctype html>
<html lang="en">
<head>
<title>Dialog Visual Test : Dialog option shadow false</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
<script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
<script type="text/javascript">
$(function() {
$("#dialog").dialog({
shadow: false
});
});
</script>
</head>
<body>

<div id="dialog" title="Dialog Title">
<p> Dialog Content </p>
</div>

</body>
</html>
@@ -0,0 +1,27 @@
<!doctype html>
<html lang="en">
<head>
<title>Dialog Visual Test : Dialog option shadow true</title>
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
<script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.dialog.js"></script>
<script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
<script type="text/javascript" src="../../../ui/ui.resizable.js"></script>
<script type="text/javascript">
$(function() {
$("#dialog").dialog({
shadow: true
});
});
</script>
</head>
<body>

<div id="dialog" title="Dialog Title">
<p> Dialog Content </p>
</div>

</body>
</html>
@@ -522,7 +522,7 @@ $.extend($.ui.dialog, {
modal: false,
position: 'center',
resizable: true,
shadow: true,
shadow: false,
stack: true,
title: '',
width: 300,

0 comments on commit 9f382c5

Please sign in to comment.
You can’t perform that action at this time.