E

위에서 하나씩 떨어지는 메뉴 스크립트

· 2006-05-11 (목) 10:54:48 · 2830
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title> jasko sample script </title>

<!---- [1단계] 아래 코드를 <HEAD> 와 </HEAD> 태그 사이에 붙여 넣으세요 --->

<style type="text/css">
<!--
a:link { text-decoration: none;}
a:visited { text-decoration: none;}
a:active { text-decoration: none;}
-->
</style>

<script language="javascript">
<!--
function dropMenu() {
speed=0;
topdistance=10; // 맨위 메뉴가 보여질 위쪽위치(위에서 10픽셀 떨어진 지점부터 메뉴가 보여집니다)
items=4;
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);
}
}
// -->
</script>

</head>

<!---- [2단계] onLoad="dropMenu(), scrollItems();" 코드를 <BODY> 태그 안에 붙여 넣으세요 --->

<body bgcolor="white" text="black" link="white" vlink="white" alink="red" onLoad="dropMenu(), scrollItems();">

<!---- [2단계] 아래의 방법으로 <BODY> 와 </BODY> 태그 사이에 붙여 넣으세요 --->

<div id="object1" style="width:100px; height:100px; position:absolute; left:10px; top:-50px; z-index:2; visibility:show;">
<table style="border-width:1; border-color:silver; border-style:solid;" border="0" width=70 bgcolor=#0066FF>
<td>
<center>

<font size="2"><a href=#>메뉴 - 1</a></font>
</center>
</td>
</table>
</div>

<div id="object2" style="width:100px; height:100px; position:absolute; left:10px; top:-50px; z-index:2; visibility:show;">
<table style="border-width:1; border-color:silver; border-style:solid;" border="0" width=70 bgcolor=#333333>
<td>
<center>

<font size="2"><a href=#>메뉴 - 2</a></font>
</center>
</td>
</table>
</div>

<div id="object3" style="width:100px; height:100px; position:absolute; left:10px; top:-50px; z-index:2; visibility:show;">
<table style="border-width:1; border-color:silver; border-style:solid;" border="0" width=70 bgcolor=#FF6633>
<td>
<center>

<font size="2"><a href=#>메뉴 - 3</a></font>
</center>
</td>
</table>
</div>

<div id="object4" style="width:100px; height:100px; position:absolute; left:10px; top:-50px; z-index:2; visibility:show;">
<table style="border-width:1; border-color:silver; border-style:solid;" border="0" width=70 bgcolor=#008080>
<td>
<center>

<font size="2"><a href=#>메뉴 - 4</a></font>
</center>
</td>
</table>
</div>

<!------------------------- 여기까지 ------------------------------------>

</body>
</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 17:16:08 PHP & HTML에서 이동 됨]</div>
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,187건
+
제목 글쓴이 날짜 조회
06-05-01 조회 3,073
06-05-01 조회 3,065
06-05-01 조회 3,224
06-05-01 조회 4,373
06-05-01 조회 4,232
06-04-30 조회 4,053
06-04-30 조회 3,720
06-04-29 조회 3,810
06-04-29 조회 3,472
06-04-29 조회 3,526
06-04-29 조회 2,731
06-04-29 조회 3,410
06-04-29 조회 3,782
06-04-29 조회 3,772
06-04-29 조회 4,080
06-04-29 조회 3,915
06-04-29 조회 2,835
06-04-29 조회 2,951
06-04-29 조회 3,907
06-04-28 조회 3,299
06-04-28 조회 5,163
06-04-28 조회 3,692
06-04-28 조회 3,481
06-04-28 조회 4,681
06-04-28 조회 4,310
06-04-28 조회 3,428
06-04-27 조회 4,223
06-04-27 조회 3,417
06-04-26 조회 4,292
06-04-26 조회 4,668
06-04-25 조회 6,382
06-04-25 조회 4,287
06-04-25 조회 4,247
06-04-25 조회 3,877
06-04-25 조회 3,587
06-04-25 조회 3,878
06-04-25 조회 3,625
06-04-25 조회 3,713
06-04-25 조회 3,499
06-04-25 조회 3,859
06-04-25 조회 4,154
06-04-24 조회 4,430
06-04-24 조회 8,228
06-04-24 조회 6,339
06-04-24 조회 3,606
06-04-24 조회 6,325
06-04-24 조회 4,289
06-04-22 조회 3,643
06-04-22 조회 3,338
06-04-20 조회 4,755
06-04-20 조회 4,092
06-04-19 조회 4,448
06-04-19 조회 4,035
06-04-19 조회 4,614
06-04-18 조회 3,930
06-04-18 조회 4,645
06-04-18 조회 3,585
06-04-17 조회 5,227
06-04-17 조회 4,492
06-04-14 조회 5,297
06-04-13 조회 4,646
06-04-13 조회 4,243
06-04-13 조회 4,487
06-04-12 조회 3,576
06-04-11 조회 3,943
06-04-09 조회 3,449
06-04-08 조회 4,829
06-04-03 조회 5,855
06-03-30 조회 4,889
06-03-29 조회 2,851
06-03-27 조회 3,917
06-03-25 조회 3,550
06-03-24 조회 3,714
06-03-23 조회 5,603
06-03-21 조회 3,720
06-03-17 조회 4,258
06-03-17 조회 4,112
06-03-15 조회 4,760
06-03-15 조회 4,720
06-03-14 조회 2,960
06-03-11 조회 3,331
06-03-06 조회 3,917
06-03-06 조회 3,559
06-03-06 조회 5,518
06-03-06 조회 4,441
06-03-05 조회 5,224
06-03-04 조회 3,735
06-03-03 조회 3,590
06-03-03 조회 4,049
06-03-01 조회 3,553
06-02-24 조회 3,844
06-02-24 조회 3,559
06-02-23 조회 4,246
06-02-22 조회 2,769
06-02-22 조회 4,073
06-02-22 조회 3,376
06-02-22 조회 3,280
06-02-22 조회 3,374
06-02-19 조회 3,720
06-02-19 조회 3,192