헬프!!외부로그인 문제로 질문드려요 정보
헬프!!외부로그인 문제로 질문드려요관련링크
http://icoms.co.kr
176회 연결
본문
외부로그인을 만들고 있는 중인데
중간쯤 1픽셀정도 줄이 생기는데
없어지질 않네요 한참이것저것 만지다 보니 이젠 보기만해두 머리아프네요
소스 보시고 어디가 문제인지좀 봐주세요 ㅠ.ㅠ
<!-- 로그인 전 외부로그인 시작 -->
<table width="169" border="0" align="center" cellpadding="0" cellspacing="0">
<form name="fhead" method="post" action="javascript:fhead_submit(document.fhead);" autocomplete="off">
<input type="hidden" name="url" value="<?=$urlencode?>">
<tr>
<td width="10" height="142" rowspan="7"><img src="<?=$outlogin_skin_path?>/img/login_03.jpg"></td>
<td width="149" height="34" colspan="3"><img src="<?=$outlogin_skin_path?>/img/login_02.jpg"></td>
<td width="10" height="142" rowspan="7"><img src="<?=$outlogin_skin_path?>/img/login_01.jpg"></td>
</tr>
<tr>
<td width="149" height="5" colspan="5"><img src="<?=$outlogin_skin_path?>/img/login_04.jpg" width="149" height="5"></td></tr>
<tr>
<td width="149" height="23" valign="top"><table width="149" border="0" cellpadding="0" cellspacing="0">
<td width="22" height="23" valign="top"><img src="<?=$outlogin_skin_path?>/img/login_05.jpg"></td>
<td width="82" height="23"><table width="82" height="23" border="0" cellpadding="0" cellspacing="0" background="<?=$outlogin_skin_path?>/img/login_07.jpg"></td>
<td height="20" align="right" valign="middle"><input name="mb_id" type="text" size="12" maxlength="20" required itemname="아이디" value='아이디' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);' class="ed"></td>
</table>
<td width="45" height="46" rowspan="2" valign="top"><input type="image" src="<?=$outlogin_skin_path?>/img/login_09.jpg"></td></tr>
<tr>
<td width="22" height="23" valign="top"><img src="<?=$outlogin_skin_path?>/img/login_06.jpg"></td>
<td width="82" height="23"><table width="82" height="23" border="0" cellpadding="0" cellspacing="0" background="<?=$outlogin_skin_path?>/img/login_08.jpg"></td>
<table width="169" border="0" align="center" cellpadding="0" cellspacing="0">
<form name="fhead" method="post" action="javascript:fhead_submit(document.fhead);" autocomplete="off">
<input type="hidden" name="url" value="<?=$urlencode?>">
<tr>
<td width="10" height="142" rowspan="7"><img src="<?=$outlogin_skin_path?>/img/login_03.jpg"></td>
<td width="149" height="34" colspan="3"><img src="<?=$outlogin_skin_path?>/img/login_02.jpg"></td>
<td width="10" height="142" rowspan="7"><img src="<?=$outlogin_skin_path?>/img/login_01.jpg"></td>
</tr>
<tr>
<td width="149" height="5" colspan="5"><img src="<?=$outlogin_skin_path?>/img/login_04.jpg" width="149" height="5"></td></tr>
<tr>
<td width="149" height="23" valign="top"><table width="149" border="0" cellpadding="0" cellspacing="0">
<td width="22" height="23" valign="top"><img src="<?=$outlogin_skin_path?>/img/login_05.jpg"></td>
<td width="82" height="23"><table width="82" height="23" border="0" cellpadding="0" cellspacing="0" background="<?=$outlogin_skin_path?>/img/login_07.jpg"></td>
<td height="20" align="right" valign="middle"><input name="mb_id" type="text" size="12" maxlength="20" required itemname="아이디" value='아이디' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);' class="ed"></td>
</table>
<td width="45" height="46" rowspan="2" valign="top"><input type="image" src="<?=$outlogin_skin_path?>/img/login_09.jpg"></td></tr>
<tr>
<td width="22" height="23" valign="top"><img src="<?=$outlogin_skin_path?>/img/login_06.jpg"></td>
<td width="82" height="23"><table width="82" height="23" border="0" cellpadding="0" cellspacing="0" background="<?=$outlogin_skin_path?>/img/login_08.jpg"></td>
<tr><td id=pw1 height="20" valign="top" align="center"><input type="text" size="12" maxlength="20" required itemname="패스워드" value='패스워드' onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' class="ed"></td>
<td id=pw2 style='display:none;' width="82" height="20" align="center"><input name="mb_password" type="password" size="12" maxlength="20" itemname="패스워드" onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' class="ed"></td></tr></table>
<td id=pw2 style='display:none;' width="82" height="20" align="center"><input name="mb_password" type="password" size="12" maxlength="20" itemname="패스워드" onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' class="ed"></td></tr></table>
<tr>
<table width="149" height="26" border="0" cellspacing="0" cellpadding="0">
<td width="45" height="26"><a href="javascript:win_password_forget();"><img src="<?=$outlogin_skin_path?>/img/login_10.jpg"></a></td>
<td width="52" height="26"><a href="<?=$g4[bbs_path]?>/register.php"><img src="<?=$outlogin_skin_path?>/img/login_11.jpg"></a></td>
<td width="52" height="26"><input type="image" src="<?=$outlogin_skin_path?>/img/login_12.jpg"></td>
</tr></table>
<table width="149" height="31" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="149" colspan="3"><img src="<?=$outlogin_skin_path?>/img/login_13.jpg" width="149" height="26"></td>
</tr>
<tr>
<td width="149" colspan="3"><img src="<?=$outlogin_skin_path?>/img/login_14.jpg" width="149" height="5"></td></tr>
</form>
</table>
<script language="JavaScript">
function fhead_submit(f)
{
if (!f.mb_id.value)
{
alert("회원아이디를 입력하십시오.");
f.mb_id.focus();
return;
}
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;
}
{
alert("패스워드를 입력하십시오.");
f.mb_password.focus();
return;
}
f.action = "<?=$g4[bbs_path]?>/login_check.php";
f.submit();
}
</script>
<!-- 로그인 전 외부로그인 끝 -->
f.submit();
}
</script>
<!-- 로그인 전 외부로그인 끝 -->
댓글 전체
아래 소스로 바꿔 보실래요.
여러군데 테그가 빠지고 맞지 않네요.
수정해 보았습니다.
--------------수정소스-----------------------
<table width="169" border="0" align="center" cellpadding="0" cellspacing="0">
<form name="fhead" method="post" action="javascript:fhead_submit(document.fhead);" autocomplete="off">
<input type="hidden" name="url" value="<?=$urlencode?>">
<tr>
<td width="10" height="142" rowspan="7"><img src="<?=$outlogin_skin_path?>/img/login_03.jpg"></td>
<td width="149" height="34"><img src="<?=$outlogin_skin_path?>/img/login_02.jpg"></td>
<td width="10" height="142" rowspan="7"><img src="<?=$outlogin_skin_path?>/img/login_01.jpg"></td>
</tr>
<tr>
<td width="149" height="5"><img src="<?=$outlogin_skin_path?>/img/login_04.jpg" width="149" height="5"></td>
</tr>
<tr>
<td width="149" height="23" valign="top">
<table width="149" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="22" height="23" valign="top"><img src="<?=$outlogin_skin_path?>/img/login_05.jpg"></td>
<td width="82" height="23">
<table width="82" height="23" border="0" cellpadding="0" cellspacing="0" background="<?=$outlogin_skin_path?>/img/login_07.jpg">
<tr>
<td height="20" align="right" valign="middle">
<input name="mb_id" type="text" size="12" maxlength="20" required itemname="아이디" value='아이디' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);' class="ed">
</td>
</tr>
</table>
</td>
<td width="45" height="46" rowspan="2" valign="top">
<input type="image" src="<?=$outlogin_skin_path?>/img/login_09.jpg"></td>
</tr>
<tr>
<td width="22" height="23" valign="top"><img src="<?=$outlogin_skin_path?>/img/login_06.jpg"></td>
<td width="82" height="23">
<table width="82" height="23" border="0" cellpadding="0" cellspacing="0" background="<?=$outlogin_skin_path?>/img/login_08.jpg">
<tr>
<td id=pw1 height="20" valign="top" align="center"><input type="text" size="12" maxlength="20" required itemname="패스워드" value='패스워드' onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' class="ed"></td>
<td id=pw2 style='display:none;' width="82" height="20" align="center"><input name="mb_password" type="password" size="12" maxlength="20" itemname="패스워드" onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' class="ed"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="149" height="26" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="45" height="26"><a href="javascript:win_password_forget();"><img src="<?=$outlogin_skin_path?>/img/login_10.jpg"></a></td>
<td width="52" height="26"><a href="<?=$g4[bbs_path]?>/register.php"><img src="<?=$outlogin_skin_path?>/img/login_11.jpg"></a></td>
<td width="52" height="26"><input type="image" src="<?=$outlogin_skin_path?>/img/login_12.jpg"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="149" height="31" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="149" colspan="3"><img src="<?=$outlogin_skin_path?>/img/login_13.jpg" width="149" height="26"></td>
</tr>
<tr>
<td width="149" colspan="3"><img src="<?=$outlogin_skin_path?>/img/login_14.jpg" width="149" height="5"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</form>
</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;
}
f.action = "<?=$g4[bbs_path]?>/login_check.php";
f.submit();
}
</script>
<!-- 로그인 전 외부로그인 끝 -->
여러군데 테그가 빠지고 맞지 않네요.
수정해 보았습니다.
--------------수정소스-----------------------
<table width="169" border="0" align="center" cellpadding="0" cellspacing="0">
<form name="fhead" method="post" action="javascript:fhead_submit(document.fhead);" autocomplete="off">
<input type="hidden" name="url" value="<?=$urlencode?>">
<tr>
<td width="10" height="142" rowspan="7"><img src="<?=$outlogin_skin_path?>/img/login_03.jpg"></td>
<td width="149" height="34"><img src="<?=$outlogin_skin_path?>/img/login_02.jpg"></td>
<td width="10" height="142" rowspan="7"><img src="<?=$outlogin_skin_path?>/img/login_01.jpg"></td>
</tr>
<tr>
<td width="149" height="5"><img src="<?=$outlogin_skin_path?>/img/login_04.jpg" width="149" height="5"></td>
</tr>
<tr>
<td width="149" height="23" valign="top">
<table width="149" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="22" height="23" valign="top"><img src="<?=$outlogin_skin_path?>/img/login_05.jpg"></td>
<td width="82" height="23">
<table width="82" height="23" border="0" cellpadding="0" cellspacing="0" background="<?=$outlogin_skin_path?>/img/login_07.jpg">
<tr>
<td height="20" align="right" valign="middle">
<input name="mb_id" type="text" size="12" maxlength="20" required itemname="아이디" value='아이디' onMouseOver='chkReset(this.form);' onFocus='chkReset(this.form);' class="ed">
</td>
</tr>
</table>
</td>
<td width="45" height="46" rowspan="2" valign="top">
<input type="image" src="<?=$outlogin_skin_path?>/img/login_09.jpg"></td>
</tr>
<tr>
<td width="22" height="23" valign="top"><img src="<?=$outlogin_skin_path?>/img/login_06.jpg"></td>
<td width="82" height="23">
<table width="82" height="23" border="0" cellpadding="0" cellspacing="0" background="<?=$outlogin_skin_path?>/img/login_08.jpg">
<tr>
<td id=pw1 height="20" valign="top" align="center"><input type="text" size="12" maxlength="20" required itemname="패스워드" value='패스워드' onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' class="ed"></td>
<td id=pw2 style='display:none;' width="82" height="20" align="center"><input name="mb_password" type="password" size="12" maxlength="20" itemname="패스워드" onMouseOver='chkReset(this.form);' onfocus='chkReset(this.form);' class="ed"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="149" height="26" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="45" height="26"><a href="javascript:win_password_forget();"><img src="<?=$outlogin_skin_path?>/img/login_10.jpg"></a></td>
<td width="52" height="26"><a href="<?=$g4[bbs_path]?>/register.php"><img src="<?=$outlogin_skin_path?>/img/login_11.jpg"></a></td>
<td width="52" height="26"><input type="image" src="<?=$outlogin_skin_path?>/img/login_12.jpg"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="149" height="31" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="149" colspan="3"><img src="<?=$outlogin_skin_path?>/img/login_13.jpg" width="149" height="26"></td>
</tr>
<tr>
<td width="149" colspan="3"><img src="<?=$outlogin_skin_path?>/img/login_14.jpg" width="149" height="5"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</form>
</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;
}
f.action = "<?=$g4[bbs_path]?>/login_check.php";
f.submit();
}
</script>
<!-- 로그인 전 외부로그인 끝 -->
오호라님 답변 감사드립니다
짐 소스를 바꾸어 보았는데 로그인창이 빠져나오네요 ㅠ.ㅠ;
홋 계시면 다시함 바주세요
짐 소스를 바꾸어 보았는데 로그인창이 빠져나오네요 ㅠ.ㅠ;
홋 계시면 다시함 바주세요
엄지바우님 제가 소스를 올린다음 잘못된 부분이 보여서 수정하는 몇초사이에 먼저 올리신 걸 하셨네요.
위의 소스로 다시한 번 해보세요.
그리고 혹시 삐져 나오면 그 부분의 colspan을 조절해 보세요.
수고하세요.
위의 소스로 다시한 번 해보세요.
그리고 혹시 삐져 나오면 그 부분의 colspan을 조절해 보세요.
수고하세요.
오호라님 새벽에 답변을 주셨네요^^*감사드립니다
오늘 아침에 수정소스를 보았습니다 .
역시 로그인박스가 빠져나오는데 그부분 colspan을 아무리 조절해도
들어가질 않네요
//답변수정
오호라님 해결했습니다.
로그인 박스 테이블에 끝부분에 </table> 막아주니 들어가네요
감사드립니다
포인트가 몇점 없어서 많이못드려 죄송합니다
수고하셔요^^*
오늘 아침에 수정소스를 보았습니다 .
역시 로그인박스가 빠져나오는데 그부분 colspan을 아무리 조절해도
들어가질 않네요
//답변수정
오호라님 해결했습니다.
로그인 박스 테이블에 끝부분에 </table> 막아주니 들어가네요
감사드립니다
포인트가 몇점 없어서 많이못드려 죄송합니다
수고하셔요^^*