質問編集履歴
2
js部分修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,7 +62,7 @@
|
|
62
62
|
|
63
63
|
$txt_open.click(function(){ // 続きを読む
|
64
64
|
|
65
|
-
$(this).next($
|
65
|
+
$(this).next($txt_close).css('display', 'block'); // 閉じるを表示
|
66
66
|
|
67
67
|
$(this).css('display', 'none');
|
68
68
|
|
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
$txt_close.click(function(){ // 閉じる
|
82
82
|
|
83
|
-
$(this).prev($
|
83
|
+
$(this).prev($txt_open).css('display', 'block'); // 続きを読むを表示
|
84
84
|
|
85
85
|
$(this).css('display', 'none');
|
86
86
|
|
1
質問に不要なclassをhtmlから削除
test
CHANGED
File without changes
|
test
CHANGED
@@ -122,7 +122,7 @@
|
|
122
122
|
|
123
123
|
<a href="javascript:void(0)" class="txt_btn txt_open">続きを読む<ion-icon name="chevron-down-outline"></ion-icon></a>
|
124
124
|
|
125
|
-
<a href="javascript:void(0)" class="txt_btn txt_close
|
125
|
+
<a href="javascript:void(0)" class="txt_btn txt_close">閉じる<ion-icon name="chevron-up-outline"></ion-icon></a>
|
126
126
|
|
127
127
|
</div>
|
128
128
|
|