묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
애매한 질문 한가지
2003.09.12 19:07
이걸 제로보드 질문에 올릴건지 아님 자바스크립트 질문에 올릴건지 생각한 끝에 둘다 올리기로...(ㅈㅅ)
결심 했습니다.
<head>
<script>
function view_pic() {
if(document.all.maddog.style.visibility=='hidden') {
document.all.maddog.style.visibility = 'visible';
document.myform.mybutton.value = '그림감추기';
}
else {
document.all.maddog.style.visibility = 'hidden';
document.myform.mybutton.value = '그림보이기';
}
}
</script>
<!--- 로그인 폼입니다 -->
</head>
<body>
<table cellpadding=2 cellspacing=1 border=0 height="80" width="100">
<form name=zb_login method=post action="[action]" onsubmit="return zb_login_check_submit();">
<input type=hidden name=s_url value="[s_url]">
<tr>
<td align=center width="45" height="10">
<img border="0" src="http://myweb.bcpark.net/~overmine/php/zero/outlogin_skin/Generals/images/id.gif" width="45" height="18">
</td>
<td width="86" align="center" height="20">
<p align="center">
<font color="#FF9900"><input name=user_id size="8" class=input style="font-size:8pt; padding-top:1; padding-right:4; padding-bottom:1; padding-left:4; border-width:1px; border-color:rgb(51,51,51); border-style:solid; float:left;"></font></td>
</tr>
<form name=zb_login method=post action="[action]" onsubmit="return zb_login_check_submit();">
<input type=hidden name=s_url value="[s_url]">
<tr>
<td align=center width="45" height="10">
<p><img border="0" src="http://myweb.bcpark.net/~overmine/php/zero/outlogin_skin/Generals/images/pw.gif" width="45" height="18"></p>
</td>
<td width="86" align="center" height="20">
<p align="center"><font color="#333333"><input type=password name=password size="8" class=input style="font-size:8pt; padding-top:1; padding-right:4; padding-bottom:1; padding-left:4; border-width:1px; border-color:rgb(51,51,51); border-style:solid; float:left;"></font></p>
</td>
</tr>
<tr>
<td align=center colspan=2 nowrap height="10" width="136">
<p align="left"><font size="1">[login] [lost_id] </font><a href="javascript:view_pic()"><img src="http://myweb.bcpark.net/~overmine/php/zero/outlogin_skin/Generals/images/i_join.gif" border="0"></a>
</td>
</tr>
</form>
</table>
<div id="maddog" style="width:560px; height:625px; position:absolute; left:200px; top:5px; z-index:1; visibility:visible;">
<iframe src="http://myweb.bcpark.net/~overmine/php/zero/member_join.php" width="560" height="625" frameborder=no></iframe>
</div>
<form name=myform>
<input type=hidden name=mybutton value='그림감추기' onclick='view_pic()'>
</form>
</body>
제 로그인 폼입니다.
보시면 처음뜰때부터 회원 가입 창이 있죠?
이거 레이어 인데요 "join" 버튼 누르면 다시 사라져요
여기서 부터가 문제인데요 처음 뜰때부터 회원가입창있 있어서 귀찮게 되거든요?
이거 처음 ㅅㅣ작할때는 안보이다가 "Join" 누르면 보이고 다시누르면 사라지게끔 할수 있나요?
결심 했습니다.
<head>
<script>
function view_pic() {
if(document.all.maddog.style.visibility=='hidden') {
document.all.maddog.style.visibility = 'visible';
document.myform.mybutton.value = '그림감추기';
}
else {
document.all.maddog.style.visibility = 'hidden';
document.myform.mybutton.value = '그림보이기';
}
}
</script>
<!--- 로그인 폼입니다 -->
</head>
<body>
<table cellpadding=2 cellspacing=1 border=0 height="80" width="100">
<form name=zb_login method=post action="[action]" onsubmit="return zb_login_check_submit();">
<input type=hidden name=s_url value="[s_url]">
<tr>
<td align=center width="45" height="10">
<img border="0" src="http://myweb.bcpark.net/~overmine/php/zero/outlogin_skin/Generals/images/id.gif" width="45" height="18">
</td>
<td width="86" align="center" height="20">
<p align="center">
<font color="#FF9900"><input name=user_id size="8" class=input style="font-size:8pt; padding-top:1; padding-right:4; padding-bottom:1; padding-left:4; border-width:1px; border-color:rgb(51,51,51); border-style:solid; float:left;"></font></td>
</tr>
<form name=zb_login method=post action="[action]" onsubmit="return zb_login_check_submit();">
<input type=hidden name=s_url value="[s_url]">
<tr>
<td align=center width="45" height="10">
<p><img border="0" src="http://myweb.bcpark.net/~overmine/php/zero/outlogin_skin/Generals/images/pw.gif" width="45" height="18"></p>
</td>
<td width="86" align="center" height="20">
<p align="center"><font color="#333333"><input type=password name=password size="8" class=input style="font-size:8pt; padding-top:1; padding-right:4; padding-bottom:1; padding-left:4; border-width:1px; border-color:rgb(51,51,51); border-style:solid; float:left;"></font></p>
</td>
</tr>
<tr>
<td align=center colspan=2 nowrap height="10" width="136">
<p align="left"><font size="1">[login] [lost_id] </font><a href="javascript:view_pic()"><img src="http://myweb.bcpark.net/~overmine/php/zero/outlogin_skin/Generals/images/i_join.gif" border="0"></a>
</td>
</tr>
</form>
</table>
<div id="maddog" style="width:560px; height:625px; position:absolute; left:200px; top:5px; z-index:1; visibility:visible;">
<iframe src="http://myweb.bcpark.net/~overmine/php/zero/member_join.php" width="560" height="625" frameborder=no></iframe>
</div>
<form name=myform>
<input type=hidden name=mybutton value='그림감추기' onclick='view_pic()'>
</form>
</body>
제 로그인 폼입니다.
보시면 처음뜰때부터 회원 가입 창이 있죠?
이거 레이어 인데요 "join" 버튼 누르면 다시 사라져요
여기서 부터가 문제인데요 처음 뜰때부터 회원가입창있 있어서 귀찮게 되거든요?
이거 처음 ㅅㅣ작할때는 안보이다가 "Join" 누르면 보이고 다시누르면 사라지게끔 할수 있나요?
===================================================================================
<div id="maddog" style="width:560px; height:625px; position:absolute; left:200px; top:5px; z-index:1; visibility:hidden;"> 로 고치세요.