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

· 2013-02-04 (월) 14:25:57 · 1318 · 5



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

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

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

이렇게 해놓을께요~ㅡ.,ㅡㅋ
2013-02-04 (월) 14:40:56
챙피하니까 그러지 마세요. ㅠㅠ
댓글을 작성하시려면 로그인이 필요합니다.

자유게시판

202,892건
+
제목 글쓴이 날짜 조회
13-02-04 조회 1,213
13-02-04 조회 1,221
13-02-04 조회 1,216
13-02-04 조회 1,193
13-02-04 조회 1,319
13-02-04 조회 1,943
13-02-04 조회 1,082
13-02-04 조회 1,215
13-02-04 조회 1,316
13-02-04 조회 962
13-02-04 조회 1,224
13-02-04 조회 1,247
13-02-04 조회 1,250
13-02-04 조회 1,072
13-02-04 조회 1,241
13-02-04 조회 1,233
13-02-04 조회 1,220
13-02-04 조회 943
13-02-04 조회 1,217
13-02-04 조회 1,195