teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

情報の追加

2018/06/05 04:54

投稿

kaitotokai
kaitotokai

スコア59

title CHANGED
File without changes
body CHANGED
@@ -36,6 +36,19 @@
36
36
  </script>
37
37
  ```
38
38
  ```HTML
39
+ <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
40
+ <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
41
+ <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery.ui.datepicker-ja.min.js"></script>
42
+
43
+ <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/excite-bike/jquery-ui.css" >
44
+
45
+ <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
46
+ <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
47
+
48
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/css/bootstrap-datepicker.css">
49
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/js/bootstrap-datepicker.js"></script>
50
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.8.0/locales/bootstrap-datepicker.ja.min.js"></script>
51
+
39
52
  <h3>ユーザーデータ</h3>
40
53
 
41
54
  <div id="panel">

1

情報の追加

2018/06/05 04:54

投稿

kaitotokai
kaitotokai

スコア59

title CHANGED
File without changes
body CHANGED
@@ -5,8 +5,7 @@
5
5
  アコーディオンを作ろうとしている。
6
6
 
7
7
  ### 該当のソースコード
8
-
9
- ```ここに言語名を入力
8
+ ```javascript
10
9
  <script type="text/javascript">
11
10
 
12
11
  jQuery.noConflict();
@@ -35,8 +34,8 @@
35
34
  })(jQuery);
36
35
 
37
36
  </script>
38
-
37
+ ```
39
-
38
+ ```HTML
40
39
  <h3>ユーザーデータ</h3>
41
40
 
42
41
  <div id="panel">
@@ -45,63 +44,65 @@
45
44
  <span class="glyphicon glyphicon-envelope">User1</span>
46
45
  <span class="glyphicon glyphicon-chevron-down pull-right"></span>
47
46
  </a>
48
- <table>
47
+ <table>
49
-  <tr>
48
+ <tr>
50
- <th>名前</th>
49
+ <th>名前</th>
51
50
 
52
- <th>年齢</th>
51
+ <th>年齢</th>
53
52
 
54
- <th>住所</th>
53
+ <th>住所</th>
55
-  </tr>
54
+ </tr>
56
55
 
57
- <tr>
56
+ <tr>
58
- <td>Tom</td>
57
+ <td>Tom</td>
59
58
 
60
- <td>45</td>
59
+ <td>45</td>
61
60
 
62
- <td>
61
+ <td>
63
- <ul>
62
+ <ul>
64
63
 
65
- <li>アメリカ</li>
64
+ <li>アメリカ</li>
66
65
 
67
- <li>ニューヨーク</li>
66
+ <li>ニューヨーク</li>
68
67
 
69
- <li>1-100-40</li>
68
+ <li>1-100-40</li>
70
69
 
71
- </ul>
70
+ </ul>
72
- </td>
71
+ </td>
73
-   </tr>
72
+ </tr>
74
- </table>
73
+ </table>
75
74
 
76
75
 
77
- <table>
76
+ <table>
78
-  <tr>
77
+ <tr>
79
- <th>名前</th>
78
+ <th>名前</th>
80
79
 
81
- <th>年齢</th>
80
+ <th>年齢</th>
82
81
 
83
- <th>住所</th>
82
+ <th>住所</th>
84
-  </tr>
83
+ </tr>
85
84
 
86
- <tr>
85
+ <tr>
87
- <td>John</td>
86
+ <td>John</td>
88
87
 
89
- <td>29</td>
88
+ <td>29</td>
90
89
 
91
- <td>
90
+ <td>
92
- <ul>
91
+ <ul>
93
92
 
94
- <li>イギリス</li>
93
+ <li>イギリス</li>
95
94
 
96
- <li>ロンドン</li>
95
+ <li>ロンドン</li>
97
96
 
98
- </ul>
97
+ </ul>
99
- </td>
98
+ </td>
100
-   </tr>
99
+ </tr>
101
- </table>
100
+ </table>
102
101
  </div>
103
102
  ```
104
103
 
104
+ cssはない。
105
+
105
106
  今のコードを実行すると、ただリンクの下にテーブルがある状態が表示される。aタグに下向きのという矢印を
106
107
  ```ここに言語を入力
107
108
  <span class="glyphicon glyphicon-chevron-down pull-right"></span>