jquery-ui/tests/visual/dialog.html

32 lines
755 B
HTML
Raw Normal View History

2008-09-20 17:42:04 +00:00
<!doctype html>
<html lang="en">
<head>
<title>Simple Dialog</title>
<link rel="stylesheet" href="all.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.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").click(function() {
$("<div/>").dialog();
});
});
</script>
</head>
<body>
<ul class="plugins">
<li>
Dialog
<div id="dialog">
<button>Open</button>
</div>
</li>
</ul>
</body>
</html>