aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/position
diff options
context:
space:
mode:
Diffstat (limited to 'tests/visual/position')
-rw-r--r--tests/visual/position/position_within.html50
1 files changed, 25 insertions, 25 deletions
diff --git a/tests/visual/position/position_within.html b/tests/visual/position/position_within.html
index ac1009d3e..f120a4b47 100644
--- a/tests/visual/position/position_within.html
+++ b/tests/visual/position/position_within.html
@@ -1,20 +1,20 @@
-<!doctype html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>Position Visual Test: Containing Element</title>
-
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>Position Visual Test: Containing Element</title>
+
<link rel="stylesheet" href="../visual.css" type="text/css" />
<link rel="stylesheet" href="../../../themes/base/jquery.ui.all.css" type="text/css" title="ui-theme" />
-
+
<script type="text/javascript" src="../../../jquery-1.5.1.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.widget.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
- <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
+ <script type="text/javascript" src="../../../ui/jquery.ui.mouse.js"></script>
+ <script type="text/javascript" src="../../../ui/jquery.ui.draggable.js"></script>
<script type="text/javascript" src="../../../ui/jquery.ui.position.js"></script>
-
- <style>
+
+ <style>
html, body {
height:100%;
width:100%;
@@ -22,7 +22,7 @@
/* force scroll bar*/
min-height:800px;
min-width:800px;
-
+
/* IE6 needs this */
text-align:center;
}
@@ -32,9 +32,9 @@
}
.demo-container {
background:#aaa;
- width:80%;
+ width:80%;
height:80%;
-
+
text-align:left;
margin:0 auto;
position:relative;
@@ -72,8 +72,8 @@
select, input {
margin-left: 15px;
}
- </style>
- <script>
+ </style>
+ <script>
$(function() {
function position( using ) {
$( ".positionable" ).position({
@@ -114,7 +114,7 @@
</script>
</head>
<body>
-
+
<div class="demo-description">
Use the form controls to configure the positioning, or drag the positioned element to modify its offset.
<br/>Drag around the parent element to see collision detection in action.
@@ -126,15 +126,15 @@
<div id="parent">
<p>This is the position parent element.</p>
</div>
-
+
<div class="positionable">
<p>to position</p>
</div>
-
+
<div class="positionable" style="width:120px; height: 40px;">
<p>to position 2</p>
</div>
-
+
<div style="padding: 20px; margin-top: 75px;">
position...
<div style="padding-bottom: 20px;">
@@ -142,7 +142,7 @@
<select id="my_horizontal">
<option value="left">left</option>
<option value="center">center</option>
- <option value="right">right</option>
+ <option value="right" selected="selected">right</option>
</select>
<select id="my_vertical">
<option value="top">top</option>
@@ -155,7 +155,7 @@
<select id="at_horizontal">
<option value="left">left</option>
<option value="center">center</option>
- <option value="right">right</option>
+ <option value="right" selected="selected">right</option>
</select>
<select id="at_vertical">
<option value="top">top</option>
@@ -181,9 +181,9 @@
</select>
</div>
</div>
-
-</div><!-- End demo -->
+
+</div><!-- End demo -->
</div>
</body>
-</html> \ No newline at end of file
+</html>