지운아빠님 이 소스 써도 돼나요?...ㅡ.,ㅡㅋ 정보
지운아빠님 이 소스 써도 돼나요?...ㅡ.,ㅡㅋ
본문
<script type="text/javascript">
$(document).ready(function(){
//소스 인용 http://sir.co.kr
$ol_id = $('#ol_id');
$ol_pw = $('#ol_pw');
if ($ol_id.attr('value') == "") $ol_id.addClass('input_id'); //아이디 저장을 안 쓸 때만 백그라운드 사용
$ol_pw.addClass('input_pw');
$ol_id.focus(function() {
$(this).removeClass('input_id');
$(this).addClass('input_id_select');
});
$ol_pw.focus(function() {
$(this).removeClass('input_pw');
$(this).addClass('input_pw_select');
});
$ol_id.blur(function() {
$this = $(this);
if($this.attr('id') == "ol_id" && $this.attr('value') == "") $this.addClass('input_id');
});
$ol_pw.blur(function() {
$this = $(this);
if($this.attr('id') == "ol_pw" && $this.attr('value') == "") $this.addClass('input_pw');
});
});
</script>
외부로그인 만드려는데 저 소스가 필요해서...ㅡ.,ㅡㅋ
0
댓글 5개

http://sir.co.kr/bbs/board.php?bo_table=pb_tip&wr_id=2362

공개를 대비해 허락 맡으려고...ㅡ.,ㅡㅋ


