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



<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

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

자유게시판

+
제목 글쓴이 날짜 조회
13년 전 조회 1,124
13년 전 조회 1,148
13년 전 조회 1,111
13년 전 조회 1,120
13년 전 조회 1,113
13년 전 조회 1,137
13년 전 조회 868
13년 전 조회 1,106
13년 전 조회 986
13년 전 조회 796
13년 전 조회 1,104
13년 전 조회 1,101
13년 전 조회 1,092
13년 전 조회 1,088
13년 전 조회 1,207
13년 전 조회 1,824
13년 전 조회 974
13년 전 조회 1,104
13년 전 조회 1,210
13년 전 조회 862
13년 전 조회 1,105
13년 전 조회 1,119
13년 전 조회 1,109
13년 전 조회 950
13년 전 조회 1,113
13년 전 조회 1,107
13년 전 조회 1,110
13년 전 조회 849
13년 전 조회 1,098
13년 전 조회 1,078