jquery-ui/tests/visual/spinner.html

45 lines
947 B
HTML
Raw Normal View History

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<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.spinner.js"></script>
<script>
$(document).ready(function(){
$("input").spinner();
});
</script>
<style type="text/css">
body {
background:#fff;
color:#333;
font-size:11px;
font-family:"lucida grande", tahoma, verdana, arial, sans-serif;
}
.ui-spinner-down, .ui-spinner-up {
background: #999;
width: 100%;
}
.ui-spinner {
border: 1px solid black;
}
</style>
</head>
<body>
<input type="text" id="input" />
</body>
</html>