質問編集履歴
1
情報の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,66 +1,4 @@
|
|
1
1
|
カレンダーの横に置いてあるファビコンのサイズが巨大になる。
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
htmlに
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
```ここに言語を入力
|
10
|
-
|
11
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
|
12
|
-
|
13
|
-
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
|
14
|
-
|
15
|
-
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepicker-ja.min.js"></script>
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/excite-bike/jquery-ui.css" >
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
<script>
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
jQuery.noConflict();
|
28
|
-
|
29
|
-
var $j = jQuery;
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
$j(function() {
|
34
|
-
|
35
|
-
$j("#datepicker").datepicker();
|
36
|
-
|
37
|
-
$j("#datepicker").datepicker("option", "showOn", 'button');
|
38
|
-
|
39
|
-
$j("#datepicker").datepicker("option", "buttonImageOnly", true);
|
40
|
-
|
41
|
-
$j("#datepicker").datepicker("option", "buttonImage", '/static/images/favicon.png');
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
});
|
46
|
-
|
47
|
-
</script>
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
<h1>カレンダー</h1>
|
54
|
-
|
55
|
-
<input type="text" id="datepicker">
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
```
|
60
|
-
|
61
|
-
とコードを書いた。
|
62
|
-
|
63
|
-
Flaskでhtmlはレンダリングしており、favicon.pngはstatic内のimagesフォルダに置いてある。
|
64
2
|
|
65
3
|
|
66
4
|
|
@@ -73,9 +11,3 @@
|
|
73
11
|
|
74
12
|
|
75
13
|
なぜ画像より大きく表示されてしまうのか?css側でfaviconの大きさを指定した方がいいのか?
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
参考URL:
|
80
|
-
|
81
|
-
http://www.webdesign-fan.com/jquery-ui-datepicker
|