지운아빠님 이 소스 써도 돼나요?...ㅡ.,ㅡㅋ



<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>

외부로그인 만드려는데 저 소스가 필요해서...ㅡ.,ㅡㅋ

|

댓글 5개

이 팁이 더 도움이 되실 겁니다.
http://sir.co.kr/bbs/board.php?bo_table=pb_tip&wr_id=2362
이미 저걸로 다 맹글었는데...ㅡ.,ㅡ;
공개를 대비해 허락 맡으려고...ㅡ.,ㅡㅋ
한약만큼은 쓰진 않지만 쓰세요.
ㄳ~

//소스 인용(※지운아빠님한테 허락 학실하게 받음) http://sir.co.kr

이렇게 해놓을께요~ㅡ.,ㅡㅋ
챙피하니까 그러지 마세요. ㅠㅠ
댓글을 작성하시려면 로그인이 필요합니다. 로그인

자유게시판

+
제목 글쓴이 날짜 조회
12년 전 조회 1,109
12년 전 조회 1,132
12년 전 조회 1,093
12년 전 조회 1,104
12년 전 조회 1,103
12년 전 조회 1,123
12년 전 조회 855
12년 전 조회 1,091
12년 전 조회 970
12년 전 조회 781
12년 전 조회 1,087
12년 전 조회 1,084
12년 전 조회 1,073
12년 전 조회 1,074
12년 전 조회 1,194
12년 전 조회 1,807
12년 전 조회 964
12년 전 조회 1,088
12년 전 조회 1,195
12년 전 조회 846
12년 전 조회 1,092
12년 전 조회 1,106
12년 전 조회 1,100
12년 전 조회 934
12년 전 조회 1,099
12년 전 조회 1,097
12년 전 조회 1,095
12년 전 조회 833
12년 전 조회 1,085
12년 전 조회 1,063
🐛 버그신고