Skip to content
Permalink
Browse files

set svn:eol-style to native

  • Loading branch information...
rdworth committed Nov 19, 2008
1 parent 027e4d5 commit 8306e62887be2bcc70984fd3b3b6c9d8158843cf
Showing with 406 additions and 406 deletions.
  1. +18 −18 demos/functional/templates/ui.effects.easing.ex2.html
  2. +41 −41 tests/droppable.html
  3. +223 −223 tests/droppable.js
  4. +39 −39 tests/ui.html
  5. +36 −36 tests/ui.js
  6. +24 −24 ui/i18n/ui.datepicker-fa.js
  7. +25 −25 ui/i18n/ui.datepicker-sq.js
@@ -1,19 +1,19 @@
<div id="area" style="position: relative; width: 400px; height: 300px; border: 1px solid #bbb;">
<img src="templates/images/white.gif" style="width: 400px; height: 300px;"/>
<img id="target" src="templates/images/target.jpeg" style="position: absolute; left: 0px; top: 0px;"/>
</div>
<script type="text/javascript">
function moveToHere(event, easing) {
var area = $("#area");
var target = $("#target");
var offset = area.offset();
var max = [area.width() - target.width(), area.height() - target.height()];
var scroll = [document.documentElement.scrollLeft || document.body.scrollLeft,
document.documentElement.scrollTop || document.body.scrollTop];
target.animate({left: Math.max(0, Math.min((event.clientX + scroll[0]) -
offset.left - (target.width() / 2), max[0])),
top: Math.max(0, Math.min((event.clientY + scroll[1]) -
offset.top - (target.height() / 2), max[1]))},
2000, easing);
}
<div id="area" style="position: relative; width: 400px; height: 300px; border: 1px solid #bbb;">
<img src="templates/images/white.gif" style="width: 400px; height: 300px;"/>
<img id="target" src="templates/images/target.jpeg" style="position: absolute; left: 0px; top: 0px;"/>
</div>
<script type="text/javascript">
function moveToHere(event, easing) {
var area = $("#area");
var target = $("#target");
var offset = area.offset();
var max = [area.width() - target.width(), area.height() - target.height()];
var scroll = [document.documentElement.scrollLeft || document.body.scrollLeft,
document.documentElement.scrollTop || document.body.scrollTop];
target.animate({left: Math.max(0, Math.min((event.clientX + scroll[0]) -
offset.left - (target.width() / 2), max[0])),
top: Math.max(0, Math.min((event.clientY + scroll[1]) -
offset.top - (target.height() / 2), max[1]))},
2000, easing);
}
</script>
@@ -1,41 +1,41 @@
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Droppable Test Suite</title>

<link rel="stylesheet" href="qunit/testsuite.css" type="text/css" media="screen">

<script type="text/javascript" src="../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../ui/ui.core.js"></script>
<script type="text/javascript" src="../ui/ui.draggable.js"></script>
<script type="text/javascript" src="../ui/ui.droppable.js"></script>

<script type="text/javascript" src="qunit/testrunner.js"></script>
<script type="text/javascript" src="simulate/jquery.simulate.js"></script>

<script type="text/javascript" src="droppable.js"></script>

<style type="text/css">
html { border: 0; }
#main {
position:absolute !important;
top: -1000px !important;
left: -1000px !important;
}
</style>
</head>
<body>

<h1 id="header">jQuery UI Droppable Test Suite</h1>
<h2 id="banner"></h2>
<h2 id="userAgent"></h2>

<ol id="tests"></ol>

<div id="main">
<div id="draggable1" style="width: 25px; height: 25px;">Draggable</div>
<div id="droppable1" style="width: 100px; height: 100px;">Droppable</div>
</div>

</body>
</html>
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Droppable Test Suite</title>

<link rel="stylesheet" href="qunit/testsuite.css" type="text/css" media="screen">

<script type="text/javascript" src="../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../ui/ui.core.js"></script>
<script type="text/javascript" src="../ui/ui.draggable.js"></script>
<script type="text/javascript" src="../ui/ui.droppable.js"></script>

<script type="text/javascript" src="qunit/testrunner.js"></script>
<script type="text/javascript" src="simulate/jquery.simulate.js"></script>

<script type="text/javascript" src="droppable.js"></script>

<style type="text/css">
html { border: 0; }
#main {
position:absolute !important;
top: -1000px !important;
left: -1000px !important;
}
</style>
</head>
<body>

<h1 id="header">jQuery UI Droppable Test Suite</h1>
<h2 id="banner"></h2>
<h2 id="userAgent"></h2>

<ol id="tests"></ol>

<div id="main">
<div id="draggable1" style="width: 25px; height: 25px;">Draggable</div>
<div id="droppable1" style="width: 100px; height: 100px;">Droppable</div>
</div>

</body>
</html>

0 comments on commit 8306e62

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