HTML과 JAVA
글 수 77
아래의 내용을 나모나 드림위버에 그대로 복사해서 보시면 이해가 빠르실것입니다.
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>GMBBS 메뉴 예제</title>
<SCRIPT LANGUAGE="JavaScript">
function buildMenu() {
speed=1;
topdistance=25; //** 상단에서 메뉴까지 거리
items=9; //** 메뉴의 개수 지정
y=-50;
ob=1;
if (navigator.appName == "Netscape") {
v=".top=",dS="document.",sD="";
}
else {
v=".pixelTop=",dS="",sD=".style";
}
}
function scrollItems() {
if (ob<items+1) {
objectX="object"+ob;
y+=10;
eval(dS + objectX + sD + v + y);
if (y<topdistance) setTimeout("scrollItems()",speed);
else y=-50, topdistance+=40, ob+=1, setTimeout("scrollItems()",speed);
}
}
// End -->
</SCRIPT>
</head>
<body onLoad="buildMenu(), scrollItems();">
<div id="object1" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=white width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>HOME</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object2" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>JAVASCRIPT</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object3" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>HTML,DHTML</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object4" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>PHP,CGI</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object5" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>JAVA APPLET</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object6" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>TAG NOTE</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object7" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>FREEBOARD</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object8" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>GESTBOOK</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object9" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>OTHER SITE</b></font></A>
</center></td>
</tr>
</table>
</div>
</body>
</html>
출처 : 태그나라
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>GMBBS 메뉴 예제</title>
<SCRIPT LANGUAGE="JavaScript">
function buildMenu() {
speed=1;
topdistance=25; //** 상단에서 메뉴까지 거리
items=9; //** 메뉴의 개수 지정
y=-50;
ob=1;
if (navigator.appName == "Netscape") {
v=".top=",dS="document.",sD="";
}
else {
v=".pixelTop=",dS="",sD=".style";
}
}
function scrollItems() {
if (ob<items+1) {
objectX="object"+ob;
y+=10;
eval(dS + objectX + sD + v + y);
if (y<topdistance) setTimeout("scrollItems()",speed);
else y=-50, topdistance+=40, ob+=1, setTimeout("scrollItems()",speed);
}
}
// End -->
</SCRIPT>
</head>
<body onLoad="buildMenu(), scrollItems();">
<div id="object1" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=white width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>HOME</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object2" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>JAVASCRIPT</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object3" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>HTML,DHTML</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object4" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>PHP,CGI</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object5" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>JAVA APPLET</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object6" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>TAG NOTE</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object7" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>FREEBOARD</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object8" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>GESTBOOK</b></font></A>
</center></td>
</tr>
</table>
</div>
<div id="object9" style="width:200px; height:200px; position:absolute; left:5px; top:-50px; z-index:2; visibility:show;">
<table border=3 bordercolor=WHITE width=135 bgcolor=#215E21>
<td><center><A HREF="http://#" TARGET="menu2"><font color=white size=2><b>OTHER SITE</b></font></A>
</center></td>
</tr>
</table>
</div>
</body>
</html>
출처 : 태그나라

안녕하세요 지엠비비에스의 주인장 랑이입니다...!!
언제나 여러분들의 소나무가 될수 있도록 노력 하겠습니다.
삶을 두려워 하지 말라. 삶은 살아볼만한 가치가 있는것이라고 믿어라.
그믿음이 가치 있는 삶을 창조하도록 도와줄 것이다. - 로버트 H.슐러
언제나 여러분들의 소나무가 될수 있도록 노력 하겠습니다.
삶을 두려워 하지 말라. 삶은 살아볼만한 가치가 있는것이라고 믿어라.
그믿음이 가치 있는 삶을 창조하도록 도와줄 것이다. - 로버트 H.슐러




