묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
메뉴 보였다 않보였다 질문입니다.
2003.12.20 22:25
http://jikili.com/testmenu.htm아래가 소스 인데요...
처음엔 기본이 보이지 않는것으로 하려면 어디를 고쳐야 하는지요??
꼬옥좀 알려 주세요~~
위에 링크 걸어 놓았습니다.
<p align="center">
<table border=1 width="160"><tr><td>
<div id="scontentmain">
<img align="right" src="http://jikili.com/love/ex/img/barbutton.gif" onClick="onoffdisplay()">보이기 숨기기
</div>
<div id="scontentsub">
<font face="돋움" size="2">Subject-Menu1</font>
<font face="돋움" size="2">
</font><table border="1" cellspacing="0" width="140" bordercolordark="white" bordercolorlight="silver" align="center">
<tr>
<td width="1" bgcolor="#E7E7E7">
<p><font size="2" face="돋움" color="#E2E2E2"> </font></p>
</td>
<td width="129" bgcolor="#F6F6F6">
<p><a href="http://jikili.com" target="_blank"><font size="2" face="돋움" color="#333333">Menu
1</font></a></p>
</td>
</tr>
<tr>
<td width="1" bgcolor="#E7E7E7">
<p><font size="2" face="돋움" color="#E2E2E2"> </font></p>
</td>
<td width="129" bgcolor="#F6F6F6">
<p><a href="http://jikili.com" target="_blank"><font size="2" face="돋움" color="#333333">Menu
2</font></a></p>
</td>
</tr>
<tr>
<td width="1" bgcolor="#E7E7E7">
<p><font size="2" face="돋움" color="#E2E2E2"> </font></p>
</td>
<td width="129" bgcolor="#F6F6F6">
<p><a href="http://jikili.com" target="_blank"><font size="2" face="돋움" color="#333333">Menu
3</font></a></p>
</td>
</tr>
<tr>
<td width="1" bgcolor="#E7E7E7">
<p><font size="2" face="돋움" color="#E2E2E2"> </font></p>
</td>
<td width="129" bgcolor="#F6F6F6">
<p><a href="http://jikili.com" target="_blank"><font size="2" face="돋움" color="#333333">Menu
3</font></a></p>
</td>
</tr>
<tr>
<td width="1" bgcolor="#E7E7E7">
<p><font size="2" face="돋움" color="#E2E2E2"> </font></p>
</td>
<td width="129" bgcolor="#F6F6F6">
<p><a href="http://jikili.com" target="_blank"><font size="2" face="돋움" color="#333333">Menu
4</font></a></p>
</td>
</tr>
</table>
</div></td></tr></table>
<script language="JavaScript1.2">
//메뉴바가 나타날 곳의 위치를 적어 주세요.
var w=document.body.clientWidth-195
var h=50
////아래에는 편집하지 마세요.///////////
w+=document.body.scrollLeft
h+=document.body.scrollTop
var leftpos=w
var toppos=h
scontentmain.style.left=w
scontentmain.style.top=h
function onoffdisplay(){
if (scontentsub.style.display=='')
scontentsub.style.display='none'
else
scontentsub.style.display=''
}
function staticize(){
w2=document.body.scrollLeft+leftpos
h2=document.body.scrollTop+toppos
scontentmain.style.left=w2
scontentmain.style.top=h2
}
window.onscroll=staticize
</script>
처음엔 기본이 보이지 않는것으로 하려면 어디를 고쳐야 하는지요??
꼬옥좀 알려 주세요~~
위에 링크 걸어 놓았습니다.
<p align="center">
<table border=1 width="160"><tr><td>
<div id="scontentmain">
<img align="right" src="http://jikili.com/love/ex/img/barbutton.gif" onClick="onoffdisplay()">보이기 숨기기
</div>
<div id="scontentsub">
<font face="돋움" size="2">Subject-Menu1</font>
<font face="돋움" size="2">
</font><table border="1" cellspacing="0" width="140" bordercolordark="white" bordercolorlight="silver" align="center">
<tr>
<td width="1" bgcolor="#E7E7E7">
<p><font size="2" face="돋움" color="#E2E2E2"> </font></p>
</td>
<td width="129" bgcolor="#F6F6F6">
<p><a href="http://jikili.com" target="_blank"><font size="2" face="돋움" color="#333333">Menu
1</font></a></p>
</td>
</tr>
<tr>
<td width="1" bgcolor="#E7E7E7">
<p><font size="2" face="돋움" color="#E2E2E2"> </font></p>
</td>
<td width="129" bgcolor="#F6F6F6">
<p><a href="http://jikili.com" target="_blank"><font size="2" face="돋움" color="#333333">Menu
2</font></a></p>
</td>
</tr>
<tr>
<td width="1" bgcolor="#E7E7E7">
<p><font size="2" face="돋움" color="#E2E2E2"> </font></p>
</td>
<td width="129" bgcolor="#F6F6F6">
<p><a href="http://jikili.com" target="_blank"><font size="2" face="돋움" color="#333333">Menu
3</font></a></p>
</td>
</tr>
<tr>
<td width="1" bgcolor="#E7E7E7">
<p><font size="2" face="돋움" color="#E2E2E2"> </font></p>
</td>
<td width="129" bgcolor="#F6F6F6">
<p><a href="http://jikili.com" target="_blank"><font size="2" face="돋움" color="#333333">Menu
3</font></a></p>
</td>
</tr>
<tr>
<td width="1" bgcolor="#E7E7E7">
<p><font size="2" face="돋움" color="#E2E2E2"> </font></p>
</td>
<td width="129" bgcolor="#F6F6F6">
<p><a href="http://jikili.com" target="_blank"><font size="2" face="돋움" color="#333333">Menu
4</font></a></p>
</td>
</tr>
</table>
</div></td></tr></table>
<script language="JavaScript1.2">
//메뉴바가 나타날 곳의 위치를 적어 주세요.
var w=document.body.clientWidth-195
var h=50
////아래에는 편집하지 마세요.///////////
w+=document.body.scrollLeft
h+=document.body.scrollTop
var leftpos=w
var toppos=h
scontentmain.style.left=w
scontentmain.style.top=h
function onoffdisplay(){
if (scontentsub.style.display=='')
scontentsub.style.display='none'
else
scontentsub.style.display=''
}
function staticize(){
w2=document.body.scrollLeft+leftpos
h2=document.body.scrollTop+toppos
scontentmain.style.left=w2
scontentmain.style.top=h2
}
window.onscroll=staticize
</script>
댓글 1
-
닭
2003.12.20 23:57
<div id="scontentsub"> ....이 태그를 <div id="scontentsub" style="display: none; ">...으로 고쳐주시면 됩니다.