mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
resizable visual tests: added option preventDefault tests
This commit is contained in:
parent
e4c5712974
commit
625d216d7d
@ -1,8 +1,8 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>Simple Resizable</title>
|
<title>Resizable Visual Test : Default</title>
|
||||||
<link rel="stylesheet" href="../all.css" type="text/css">
|
<link rel="stylesheet" href="../visual.css" type="text/css" />
|
||||||
<link rel="stylesheet" href="../../../themes/base/ui.all.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="../../../jquery-1.3.1.js"></script>
|
||||||
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
|
<script type="text/javascript" src="../../../ui/ui.core.js"></script>
|
||||||
@ -15,12 +15,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<ul class="plugins">
|
<div id="resizable">Resizable</div>
|
||||||
<li class="plugin">
|
|
||||||
Resizable
|
|
||||||
<div id="resizable"></div>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>Resizable Visual Test : Resizable option preventDefault 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.resizable.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(function() {
|
||||||
|
$("#resizable").resizable({
|
||||||
|
preventDefault: false
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<textarea id="resizable">Resizable</texarea>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,23 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>Resizable Visual Test : Resizable option preventDefault 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.resizable.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(function() {
|
||||||
|
$("#resizable").resizable({
|
||||||
|
preventDefault: true
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<textarea id="resizable">Resizable</texarea>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user