2010-03-12 03:18:34 +00:00
|
|
|
<!DOCTYPE html>
|
2010-01-20 14:00:14 +00:00
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2010-03-12 03:18:34 +00:00
|
|
|
<meta charset="UTF-8" />
|
2010-01-20 14:00:14 +00:00
|
|
|
<title>jQuery UI Button - Default demo</title>
|
2010-02-16 01:38:23 +00:00
|
|
|
<link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
|
2010-02-16 02:39:57 +00:00
|
|
|
<script type="text/javascript" src="../../jquery-1.4.2.js"></script>
|
2010-01-20 14:00:14 +00:00
|
|
|
<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.button.js"></script>
|
|
|
|
<link type="text/css" href="../demos.css" rel="stylesheet" />
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
2010-01-20 17:32:08 +00:00
|
|
|
$("button, input:submit, a", ".demo").button();
|
2010-03-18 10:38:25 +00:00
|
|
|
|
|
|
|
$("a", ".demo").click(function() { return false; });
|
2010-01-20 14:00:14 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<style>
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="demo">
|
|
|
|
|
|
|
|
<button>A button element</button>
|
|
|
|
|
2010-03-18 10:38:25 +00:00
|
|
|
<input type="submit" value="A submit button"/>
|
2010-01-20 14:00:14 +00:00
|
|
|
|
2010-03-18 10:38:25 +00:00
|
|
|
<a href="#">An anchor</a>
|
2010-01-20 14:00:14 +00:00
|
|
|
|
|
|
|
</div><!-- End demo -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="demo-description">
|
|
|
|
|
|
|
|
<p>Examples of the markup that can be used for buttons: A button element, an input of type submit and an anchor.</p>
|
|
|
|
|
|
|
|
</div><!-- End demo-description -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|