사용자: 아웃로그인 로그인 전 완료

This commit is contained in:
whitedot
2013-01-03 13:36:29 +09:00
parent d3423ee047
commit b636bc203a
2 changed files with 32 additions and 8 deletions

View File

@ -53,6 +53,29 @@ else
</form>
</section>
<script>
$(document).ready(function(){
$omi = $('#ol_mb_id');
$omp = $('#ol_mb_pw');
$omi_label = $('#ol_mb_id_label');
$omp_label = $('#ol_mb_pw_label');
$omi.focus(function() {
$omi_label.css('visibility','hidden');
});
$omp.focus(function() {
$omp_label.css('visibility','hidden');
});
$omi.blur(function() {
$this = $(this);
if($this.attr('id') == "ol_mb_id" && $this.attr('value') == "") $omi_label.css('visibility','visible');
});
$omp.blur(function() {
$this = $(this);
if($this.attr('id') == "ol_mb_pw" && $this.attr('value') == "") $omp_label.css('visibility','visible');
});
});
</script>
<script>
function fhead_submit(f)
{