로그인 마우스 커서가 안되요..ㅠㅠ 정보
로그인 마우스 커서가 안되요..ㅠㅠ
본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
고수님들~~~질문입니다- ^_^;
외부로그인이 이상하게 커서가 들어가지 않는다고 해야 하나요;
이걸 어떻게 고쳐야 할지 알려주세요..ㅠ
키보드의 탭키를 움직여서 커서를 강제로 넣으면 되긴 한데요..
어째서 커서가 들어가지 않는지..ㅜ.ㅜ
(전체 가로 117px테이블 임)
원소스 첨부합니다
-----------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$url = '';
if ($g4['https_url']) {
if (preg_match("/^\./", $urlencode))
$url = $g4[url];
else
$url = $g4[url].$urlencode;
} else {
$url = $urlencode;
}
?>
<script type="text/javascript" language=JavaScript>
// 엠파스 로긴 참고
var bReset = true;
function chkReset(f)
{
if (bReset) { if ( f.mb_id.value == 'ID' ) f.mb_id.value = ''; bReset = false; }
document.getElementById("pw1").style.display = "none";
document.getElementById("pw2").style.display = "";
}
</script>
<!-- 로그인 전 외부로그인 시작 -->
<table width="117" cellspacing="0" cellpadding="0" background="<?=$outlogin_skin_path?>/img/bg.jpg">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="117">
<form name="fhead" method="post" action="javascript:fhead_submit(document.fhead);" autocomplete="off">
<input type="hidden" name="url" value="<?=$url?>">
<tr>
<td colspan="3"><img src="<?=$outlogin_skin_path?>/img/login_tit.gif" width="117" height="32" border="0"></td>
</tr>
<tr>
<td width="100" height="38"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="110" height="20" align="center"><input name="mb_id" type="text" class="ed" size="12" maxlength="20" required="required" itemname="아이디" value='아이디' onmouseover='chkReset(this.form);' onfocus='chkReset(this.form);' /></td>
</tr>
<tr>
<td width="110" height="23" align="center" id="pw1"><input name="text" type="text" class="ed" onfocus='chkReset(this.form);' onmouseover='chkReset(this.form);' value='패스워드' size="12" maxlength="20" required="required" itemname="패스워드" />
<td id=pw2 style='display:none;' width="106" height="23" colspan="2" align="center"><input name="mb_password" type="password" class=ed size="12" maxlength="20" itemname="패스워드" onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);'></td>
</tr>
</table></td>
</tr>
<tr>
<td height="7"></td>
</tr>
<tr>
<td height="18" style="padding-left:8px"><table border="0" cellpadding="0" cellspacing="0" width="100">
<tr>
<td width="59" height="18"><input name="image" type="image" onfocus="blur()" src='<?=$outlogin_skin_path?>/img/btn_login.gif' width="40" height="16" border="0"></td>
<td width="110" height="18" align="right"><a href="<?=$g4['bbs_path']?>/register.php"><img src="<?=$outlogin_skin_path?>/img/btn_join.gif" width="53" height="16" /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="22" colspan="3" valign="bottom" style="padding-left:8px"><a href="javascript:win_password_forget();"><img src="<?=$outlogin_skin_path?>/img/btn_find.gif" width="99" height="14" /></a> </td>
</tr>
<tr>
<td colspan="3"><img src="<?=$outlogin_skin_path?>/img/bottom.jpg" width="117" height="8" /></td>
</tr>
</form>
</table></td>
</tr>
</table>
<script language="JavaScript">
function fhead_submit(f)
{
if (!f.mb_id.value)
{
alert("회원아이디를 입력하십시오.");
f.mb_id.focus();
return;
}
if (document.getElementById('pw2').style.display!='none' && !f.mb_password.value)
{
alert("패스워드를 입력하십시오.");
f.mb_password.focus();
return;
}
<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/login_check.php';";
else
echo "f.action = '$g4[bbs_path]/login_check.php';";
?>
f.submit();
}
</script>
<!-- 로그인 전 외부로그인 끝 -->
오류 주소 :
고수님들~~~질문입니다- ^_^;
외부로그인이 이상하게 커서가 들어가지 않는다고 해야 하나요;
이걸 어떻게 고쳐야 할지 알려주세요..ㅠ
키보드의 탭키를 움직여서 커서를 강제로 넣으면 되긴 한데요..
어째서 커서가 들어가지 않는지..ㅜ.ㅜ
(전체 가로 117px테이블 임)
원소스 첨부합니다
-----------------------------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$url = '';
if ($g4['https_url']) {
if (preg_match("/^\./", $urlencode))
$url = $g4[url];
else
$url = $g4[url].$urlencode;
} else {
$url = $urlencode;
}
?>
<script type="text/javascript" language=JavaScript>
// 엠파스 로긴 참고
var bReset = true;
function chkReset(f)
{
if (bReset) { if ( f.mb_id.value == 'ID' ) f.mb_id.value = ''; bReset = false; }
document.getElementById("pw1").style.display = "none";
document.getElementById("pw2").style.display = "";
}
</script>
<!-- 로그인 전 외부로그인 시작 -->
<table width="117" cellspacing="0" cellpadding="0" background="<?=$outlogin_skin_path?>/img/bg.jpg">
<tr>
<td><table border="0" cellpadding="0" cellspacing="0" width="117">
<form name="fhead" method="post" action="javascript:fhead_submit(document.fhead);" autocomplete="off">
<input type="hidden" name="url" value="<?=$url?>">
<tr>
<td colspan="3"><img src="<?=$outlogin_skin_path?>/img/login_tit.gif" width="117" height="32" border="0"></td>
</tr>
<tr>
<td width="100" height="38"><table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="110" height="20" align="center"><input name="mb_id" type="text" class="ed" size="12" maxlength="20" required="required" itemname="아이디" value='아이디' onmouseover='chkReset(this.form);' onfocus='chkReset(this.form);' /></td>
</tr>
<tr>
<td width="110" height="23" align="center" id="pw1"><input name="text" type="text" class="ed" onfocus='chkReset(this.form);' onmouseover='chkReset(this.form);' value='패스워드' size="12" maxlength="20" required="required" itemname="패스워드" />
<td id=pw2 style='display:none;' width="106" height="23" colspan="2" align="center"><input name="mb_password" type="password" class=ed size="12" maxlength="20" itemname="패스워드" onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);'></td>
</tr>
</table></td>
</tr>
<tr>
<td height="7"></td>
</tr>
<tr>
<td height="18" style="padding-left:8px"><table border="0" cellpadding="0" cellspacing="0" width="100">
<tr>
<td width="59" height="18"><input name="image" type="image" onfocus="blur()" src='<?=$outlogin_skin_path?>/img/btn_login.gif' width="40" height="16" border="0"></td>
<td width="110" height="18" align="right"><a href="<?=$g4['bbs_path']?>/register.php"><img src="<?=$outlogin_skin_path?>/img/btn_join.gif" width="53" height="16" /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="22" colspan="3" valign="bottom" style="padding-left:8px"><a href="javascript:win_password_forget();"><img src="<?=$outlogin_skin_path?>/img/btn_find.gif" width="99" height="14" /></a> </td>
</tr>
<tr>
<td colspan="3"><img src="<?=$outlogin_skin_path?>/img/bottom.jpg" width="117" height="8" /></td>
</tr>
</form>
</table></td>
</tr>
</table>
<script language="JavaScript">
function fhead_submit(f)
{
if (!f.mb_id.value)
{
alert("회원아이디를 입력하십시오.");
f.mb_id.focus();
return;
}
if (document.getElementById('pw2').style.display!='none' && !f.mb_password.value)
{
alert("패스워드를 입력하십시오.");
f.mb_password.focus();
return;
}
<?
if ($g4[https_url])
echo "f.action = '$g4[https_url]/$g4[bbs]/login_check.php';";
else
echo "f.action = '$g4[bbs_path]/login_check.php';";
?>
f.submit();
}
</script>
<!-- 로그인 전 외부로그인 끝 -->
댓글 전체

itemname="아이디" value='아이디'
itemname="ID" value='ID'
itemname="ID" value='ID'