Skip to content

Commit

Permalink
#4341 - Added visual test page
Browse files Browse the repository at this point in the history
  • Loading branch information
rdworth committed Mar 18, 2009
1 parent 7b55667 commit 434359b
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions tests/visual/selectable/selectable_ticket_4341.html
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,43 @@
<!doctype html>
<html lang="en">
<head>
<title>Selectable Visual Test : Selectable ticket #4341</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.2.js"></script>
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../../ui/ui.selectable.js"></script>
<script type="text/javascript">
$(function() {
$("#selectable").selectable({
appendTo: "#container"
});
});
</script>
<style type="text/css">
body { margin: 0; padding: 0; }
#container { width: 600px; height: 400px; border: 1px solid gray; position: relative; overflow: hidden; }
#selectable { width: 400px; height: 300px; border: 1px solid silver; margin: 1em; }
#selectable * { margin: 1em; padding: 1em; }
.ui-selecting { background-color: #eef; }
.ui-selected { background-color: silver; }
</style>
</head>
<body>

<div id="container">

<div id="selectable">
<div>Selectable 1</div>
<div>Selectable 2</div>
<div>Selectable 3</div>
<div>Selectable 4</div>
<div>Selectable 5</div>
</div>

</div>

<h1 class="ui-widget-header"><a href="http://dev.jqueryui.com/ticket/4341">#4341 - Selectable: option appendTo is ignored, helper always appends to body</a></h1>

</body>
</html>

0 comments on commit 434359b

Please sign in to comment.