묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
소스쫌 봐주실래요?
2003.08.12 15:46
<html><head></head>
<body>
<style type="text/css">
BODY
{scrollbar-face-color: #ffffff;
scrollbar-shadow-color: #ffffff;
scrollbar-highlight-color: #666666;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: #666666}
</style>
<body bgcolor="#ffffff" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFCC" alink="#FFFFFF">
<table widht=100%>
<tr>
<td>
<script>
table_height = 20; // 메뉴 테이블 높이를 정합니다.
xmenu = new Array;
xsubmenu = new Array;
//상위 메뉴 타이틀을 정합니다.
xmenu[0] = '처음으로';
xmenu[1] = '우리는?';
xmenu[2] = '디카방';
xmenu[3] = '떠들어요';
xmenu[4] = '놀아요';
xmenu[5] = '퍼갈래요';
xmenu[6] = '놀러가요';
//상위 메뉴 갯수만큼 서브 메뉴값을 정해줍니다.
xsubmenu[0] = ''
xsubmenu[1] = ''
xsubmenu[2] = '+ '+ ''
xsubmenu[3] = ''
xsubmenu[4] = ''
xsubmenu[5] = ''
xsubmenu[6] = ''
xsubmenu[0] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴1-1 설명글"> 처음으로 돌아가요</A>';
xsubmenu[0] += ' <FONT COLOR=#666666></FONT> '
xsubmenu[1] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >낭만고양이?</A>';
xsubmenu[1] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[1] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >당근왕자?</A>';
xsubmenu[1] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[1] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-3 설명글" >쩡''Diaryㆀ</A>'+ ';
xsubmenu[1] += ' <FONT COLOR=#666666>|</FONT> '+ '
xsubmenu[1] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-4 설명글" >그니''Diaryㆀ</A>';
xsubmenu[2] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >쩡''Photoㆀ</A>';
xsubmenu[2] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[2] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >그니''Photoㆀ</A>';
xsubmenu[2] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[2] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-3 설명글" >짱아''+ 'Photoㆀ</A>';
xsubmenu[2] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[2] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-4 설명글" >Free''+ 'Photoㆀ</A>';
xsubmenu[3] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >우리방ㆀ</A>';
xsubmenu[3] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[3] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >수다떨기ㆀ</A>';
xsubmenu[3] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[3] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-3 설명글" >발도장찍기ㆀ</A>';
xsubmenu[3] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[3] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-4 설명글" >Free''+ 'Boradㆀ</A>';
xsubmenu[4] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >삼행시ㆀ</A>';
xsubmenu[4] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[4] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >오이깎기ㆀ</A>';
xsubmenu[4] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >우리방ㆀ</A>';
xsubmenu[4] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[4] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >백문백답ㆀ</A>';
xsubmenu[4] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[5] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >웹팁ㆀ</A>';
xsubmenu[5] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[5] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >자료방ㆀ</A>';
xsubmenu[6] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >웹칭구들ㆀ</A>';
xsubmenu[6] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[6] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >추천 사이트ㆀ</A>';
//각 메뉴에 스타일 시트를 적용합니다.
document.write('<STYLE TYPE="text/css">nA.menudyn3 {color:#666666; text-decoration:none;}nA:hover.menudyn3 {color:#ffffff;text-decoration:none;}n</STYLE>');
// 메뉴 테이블 시작
document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='+(xsubmenu.length*100)+' BGCOLOR=#000000> <TR><TD><TABLE CELLPADDING=2 CELLSPACING=1 BORDER=0 WIDTH=100%> <TR>');
for(i=0;i<xsubmenu.length;i++)
{
document.write('<TD BGCOLOR=#000000 onMouseOver="javascript:colorIt(this);MajMenu('+ '+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=2 FACE="돋움"><B><A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn3>'+xmenu[i]+'</A></B></FONT></TD>');
}
document.write('</TR> <TR> <TD COLSPAN='+(xsubmenu.length)+' BGCOLOR=#000000 HEIGHT='+table_height+' VALIGN=top><ilayer id="dynamenu31" width=100% height='+table_height+'><layer id="dynamenu32" width=100% height='+ '+table_height+'><div id="dynamenu33"> </div></layer></ilayer></TD> </TR></TABLE></TD></TR></TABLE>');
// 메뉴 테이블 끝
// 메뉴 테이블 배경 색상 시작
function colorIt(tditem)
{
if(document.all)
{ // 메뉴가 늘어나면 추가합니다.
document.all.td0.style.background='#000000';
document.all.td1.style.background='#000000';
document.all.td2.style.background='#000000';
document.all.td3.style.background='#000000';
document.all.td4.style.background='#000000';
tditem.style.background='#000000';
}
else if(document.getElementById)
{ // 메뉴가 늘어나면 추가합니다.
document.getElementById("td0").style.background='+ '#000000';
document.getElementById("td1").style.background='#000000';
document.getElementById("td2").style.background='#000000';
document.getElementById("td3").style.background='#000000';
document.getElementById("td4").style.background='#000000'+ ';
tditem.style.background='#000000';
}
}
//메뉴 테이블 배경 색상 끝
function MajMenu(menu) //상위 메뉴를 제어합니다.
{
which = xsubmenu[menu];
if (document.layers){
document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=2 FACE="돋움"><B>'+which+'</B></FONT>')
document.dynamenu31.document.dynamenu32.document.close()
}
else if (document.getElementById) // 하부 메뉴를 제어합니다.
{
document.getElementById("dynamenu33").innerHTML = '<CENTER><FONT SIZE=2 FACE="돋움"><B>'+which+'</B></FONT></CENTER>';
}
else if (document.all){
dynamenu33.innerHTML=' '
dynamenu33.innerHTML='<FONT SIZE=2 FACE="돋움"><B>'+which+'+ '</B></FONT>';
}
}
if (document.getElementById)
colorIt(document.getElementById("td0"));
else if (document.all){
colorIt(document.all.td0);
}
MajMenu(0);
</script>
</td>
</tr>
<tr><td>
</table>
</body></html>
제 메뉴반데요.
아직 링크는 안했구요.. 대충 짜봤는데..웹에선 투명으로 아예 안보이네요 ㅠㅠ..
모가 잘못된건지 한번만 봐주세요 ㅠㅠ..
<body>
<style type="text/css">
BODY
{scrollbar-face-color: #ffffff;
scrollbar-shadow-color: #ffffff;
scrollbar-highlight-color: #666666;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: #666666}
</style>
<body bgcolor="#ffffff" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFCC" alink="#FFFFFF">
<table widht=100%>
<tr>
<td>
<script>
table_height = 20; // 메뉴 테이블 높이를 정합니다.
xmenu = new Array;
xsubmenu = new Array;
//상위 메뉴 타이틀을 정합니다.
xmenu[0] = '처음으로';
xmenu[1] = '우리는?';
xmenu[2] = '디카방';
xmenu[3] = '떠들어요';
xmenu[4] = '놀아요';
xmenu[5] = '퍼갈래요';
xmenu[6] = '놀러가요';
//상위 메뉴 갯수만큼 서브 메뉴값을 정해줍니다.
xsubmenu[0] = ''
xsubmenu[1] = ''
xsubmenu[2] = '+ '+ ''
xsubmenu[3] = ''
xsubmenu[4] = ''
xsubmenu[5] = ''
xsubmenu[6] = ''
xsubmenu[0] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴1-1 설명글"> 처음으로 돌아가요</A>';
xsubmenu[0] += ' <FONT COLOR=#666666></FONT> '
xsubmenu[1] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >낭만고양이?</A>';
xsubmenu[1] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[1] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >당근왕자?</A>';
xsubmenu[1] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[1] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-3 설명글" >쩡''Diaryㆀ</A>'+ ';
xsubmenu[1] += ' <FONT COLOR=#666666>|</FONT> '+ '
xsubmenu[1] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-4 설명글" >그니''Diaryㆀ</A>';
xsubmenu[2] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >쩡''Photoㆀ</A>';
xsubmenu[2] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[2] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >그니''Photoㆀ</A>';
xsubmenu[2] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[2] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-3 설명글" >짱아''+ 'Photoㆀ</A>';
xsubmenu[2] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[2] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-4 설명글" >Free''+ 'Photoㆀ</A>';
xsubmenu[3] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >우리방ㆀ</A>';
xsubmenu[3] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[3] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >수다떨기ㆀ</A>';
xsubmenu[3] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[3] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-3 설명글" >발도장찍기ㆀ</A>';
xsubmenu[3] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[3] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-4 설명글" >Free''+ 'Boradㆀ</A>';
xsubmenu[4] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >삼행시ㆀ</A>';
xsubmenu[4] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[4] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >오이깎기ㆀ</A>';
xsubmenu[4] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >우리방ㆀ</A>';
xsubmenu[4] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[4] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >백문백답ㆀ</A>';
xsubmenu[4] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[5] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >웹팁ㆀ</A>';
xsubmenu[5] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[5] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >자료방ㆀ</A>';
xsubmenu[6] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-1 설명글" >웹칭구들ㆀ</A>';
xsubmenu[6] += ' <FONT COLOR=#666666>|</FONT> '
xsubmenu[6] += '<A HREF="이동할 주소" target=main CLASS=menudyn3 "OnFocus="this.blur()" title="서버메뉴2-2 설명글" >추천 사이트ㆀ</A>';
//각 메뉴에 스타일 시트를 적용합니다.
document.write('<STYLE TYPE="text/css">nA.menudyn3 {color:#666666; text-decoration:none;}nA:hover.menudyn3 {color:#ffffff;text-decoration:none;}n</STYLE>');
// 메뉴 테이블 시작
document.write('<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0 WIDTH='+(xsubmenu.length*100)+' BGCOLOR=#000000> <TR><TD><TABLE CELLPADDING=2 CELLSPACING=1 BORDER=0 WIDTH=100%> <TR>');
for(i=0;i<xsubmenu.length;i++)
{
document.write('<TD BGCOLOR=#000000 onMouseOver="javascript:colorIt(this);MajMenu('+ '+i+')" ALIGN=center ID=td'+i+'><FONT SIZE=2 FACE="돋움"><B><A HREF="#" onClick="return(false)" onMouseOver="MajMenu('+i+')" CLASS=menudyn3>'+xmenu[i]+'</A></B></FONT></TD>');
}
document.write('</TR> <TR> <TD COLSPAN='+(xsubmenu.length)+' BGCOLOR=#000000 HEIGHT='+table_height+' VALIGN=top><ilayer id="dynamenu31" width=100% height='+table_height+'><layer id="dynamenu32" width=100% height='+ '+table_height+'><div id="dynamenu33"> </div></layer></ilayer></TD> </TR></TABLE></TD></TR></TABLE>');
// 메뉴 테이블 끝
// 메뉴 테이블 배경 색상 시작
function colorIt(tditem)
{
if(document.all)
{ // 메뉴가 늘어나면 추가합니다.
document.all.td0.style.background='#000000';
document.all.td1.style.background='#000000';
document.all.td2.style.background='#000000';
document.all.td3.style.background='#000000';
document.all.td4.style.background='#000000';
tditem.style.background='#000000';
}
else if(document.getElementById)
{ // 메뉴가 늘어나면 추가합니다.
document.getElementById("td0").style.background='+ '#000000';
document.getElementById("td1").style.background='#000000';
document.getElementById("td2").style.background='#000000';
document.getElementById("td3").style.background='#000000';
document.getElementById("td4").style.background='#000000'+ ';
tditem.style.background='#000000';
}
}
//메뉴 테이블 배경 색상 끝
function MajMenu(menu) //상위 메뉴를 제어합니다.
{
which = xsubmenu[menu];
if (document.layers){
document.dynamenu31.document.dynamenu32.document.write('<FONT SIZE=2 FACE="돋움"><B>'+which+'</B></FONT>')
document.dynamenu31.document.dynamenu32.document.close()
}
else if (document.getElementById) // 하부 메뉴를 제어합니다.
{
document.getElementById("dynamenu33").innerHTML = '<CENTER><FONT SIZE=2 FACE="돋움"><B>'+which+'</B></FONT></CENTER>';
}
else if (document.all){
dynamenu33.innerHTML=' '
dynamenu33.innerHTML='<FONT SIZE=2 FACE="돋움"><B>'+which+'+ '</B></FONT>';
}
}
if (document.getElementById)
colorIt(document.getElementById("td0"));
else if (document.all){
colorIt(document.all.td0);
}
MajMenu(0);
</script>
</td>
</tr>
<tr><td>
</table>
</body></html>
제 메뉴반데요.
아직 링크는 안했구요.. 대충 짜봤는데..웹에선 투명으로 아예 안보이네요 ㅠㅠ..
모가 잘못된건지 한번만 봐주세요 ㅠㅠ..
먼저 테스트를 해보시고 안돼는 부분을 물어봐 주세요^-^&