댓글 입력도 투명하게

This commit is contained in:
2019-01-29 23:46:47 +09:00
parent 0b002a8946
commit 9228510834
3 changed files with 12 additions and 2 deletions
+7
View File
@@ -46,4 +46,11 @@
.submitComment{
width:100%;
}
.commentText{
color:white;
background-color:transparent;
border:none;
padding:1px 5px;
}
+4 -1
View File
@@ -125,7 +125,10 @@ function drawArticle(idx, articleObj){
if(e.which === 13){
$article.find('.submitComment').click();
}
});
});
$article.find('.inputCommentHeader').click(function(){
$article.find('.commentText').focus();
})
var $board = $('#board');
+1 -1
View File
@@ -100,7 +100,7 @@ var isSecretBoard = <?=($isSecretBoard?'true':'false')?>; //
<tbody class='commentList'>
</tbody>
<tfoot>
<tr><td class='bg2'>댓글 달기</td><td><input class='commentText' type='text' maxlength='250'></td><td><button type='button' class='submitComment'>등록</button></td></tr>
<tr><td class='bg2 inputCommentHeader'>댓글 달기</td><td><input class='commentText' type='text' maxlength='250' placeholder='새 댓글 내용'></td><td><button type='button' class='submitComment'>등록</button></td></tr>
</tfoot>
</table>
</div>