Software Development FontEnd 【jQuery UI 1.8 The User Interface Library for jQuery】.学习笔记.2.更换主题

Created at 2013-08-13 Updated at 2018-05-03 Category Software Development Tag Software Development / jQuery / JavaScript / FontEnd

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Widget Factory - calculator
</title>
<link rel="stylesheet"
href="css/smoothness/jquery-ui-1.8.9.custom.css">
<link rel="stylesheet" href="css/jquery.ui.claculator.css">
</head>
<body>
<div id="calc">
</div>
<script src="development-bundle/jquery-1.4.4.js">
</script>
<script src="development-bundle/ui/jquery.ui.core.js">
</script>
<script
src="development-bundle/ui/jquery.ui.widget.js">
</script>
<script src="js/jquery.ui.calculator.js">
</script>
<script>
(function($) {
$("#calc").calculator({
autoShow: false,
show: function(e, ui) {
alert(e + ", " + $(ui).attr("id");
}
});
})(jQuery);
</script>
</body>
</html>
Site by Reinhard Hsu using Hexo & Random

Hide