댓글 입력도 투명하게
This commit is contained in:
@@ -46,4 +46,11 @@
|
|||||||
|
|
||||||
.submitComment{
|
.submitComment{
|
||||||
width:100%;
|
width:100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.commentText{
|
||||||
|
color:white;
|
||||||
|
background-color:transparent;
|
||||||
|
border:none;
|
||||||
|
padding:1px 5px;
|
||||||
}
|
}
|
||||||
+4
-1
@@ -125,7 +125,10 @@ function drawArticle(idx, articleObj){
|
|||||||
if(e.which === 13){
|
if(e.which === 13){
|
||||||
$article.find('.submitComment').click();
|
$article.find('.submitComment').click();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
$article.find('.inputCommentHeader').click(function(){
|
||||||
|
$article.find('.commentText').focus();
|
||||||
|
})
|
||||||
|
|
||||||
var $board = $('#board');
|
var $board = $('#board');
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -100,7 +100,7 @@ var isSecretBoard = <?=($isSecretBoard?'true':'false')?>; //
|
|||||||
<tbody class='commentList'>
|
<tbody class='commentList'>
|
||||||
</tbody>
|
</tbody>
|
||||||
<tfoot>
|
<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>
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user