E

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

· 2006-05-11 (목) 10:54:48 · 2825
<!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-07-11 조회 3,552
06-07-11 조회 4,617
06-07-11 조회 4,332
06-07-11 조회 3,919
06-07-11 조회 3,135
06-07-11 조회 2,885
06-07-11 조회 3,999
06-07-11 조회 2,869
06-07-11 조회 3,448
06-07-11 조회 5,050
06-07-11 조회 4,836
06-07-11 조회 4,521
06-07-11 조회 4,522
06-07-11 조회 2,659
06-07-11 조회 3,014
06-07-11 조회 2,953
06-07-11 조회 3,638
06-07-11 조회 5,796
06-07-11 조회 3,865
06-07-11 조회 2,990
06-07-11 조회 3,001
06-07-11 조회 2,903
06-07-11 조회 3,664
06-07-11 조회 9,289
06-07-11 조회 3,802
06-07-11 조회 3,847
06-07-11 조회 4,134
06-07-11 조회 3,362
06-07-11 조회 3,412
06-07-11 조회 3,358
06-07-11 조회 3,155
06-07-11 조회 3,442
06-07-11 조회 3,572
06-07-07 조회 4,201
06-07-05 조회 3,385
06-07-05 조회 3,061
06-07-02 조회 3,912
06-06-29 조회 6,155
06-06-27 조회 4,658
06-06-25 조회 4,558
06-06-24 조회 4,064
06-06-24 조회 3,524
06-06-22 조회 2,600
06-06-21 조회 4,328
06-06-21 조회 3,143
06-06-19 조회 6,532
06-06-16 조회 3,498
06-06-15 조회 4,551
06-06-15 조회 4,012
06-06-14 조회 2,932
06-06-14 조회 5,035
06-06-14 조회 3,533
06-06-14 조회 3,377
06-06-13 조회 4,139
06-06-13 조회 4,466
06-06-13 조회 3,573
06-06-13 조회 3,377
06-06-13 조회 3,360
06-06-12 조회 3,074
06-06-12 조회 4,178
06-06-12 조회 3,138
06-06-12 조회 3,183
06-06-12 조회 2,807
06-06-12 조회 3,370
06-06-11 조회 3,282
06-06-11 조회 3,647
06-06-10 조회 4,022
06-06-10 조회 3,483
06-06-09 조회 3,616
06-06-09 조회 4,568
06-06-08 조회 4,384
06-06-08 조회 4,295
06-06-08 조회 4,142
06-06-08 조회 3,146
06-06-08 조회 3,476
06-06-08 조회 3,337
06-06-08 조회 3,125
06-06-08 조회 3,569
06-06-08 조회 3,461
06-06-08 조회 3,876
06-06-08 조회 3,250
06-06-08 조회 4,520
06-06-07 조회 3,051
06-06-07 조회 3,752
06-06-07 조회 2,677
06-06-05 조회 3,974
06-06-05 조회 4,151
06-06-05 조회 3,256
06-06-05 조회 3,112
06-06-02 조회 3,556
06-06-02 조회 3,595
06-06-01 조회 4,229
06-06-01 조회 7,896
06-06-01 조회 3,862
06-05-31 조회 4,337
06-05-31 조회 4,250
06-05-31 조회 3,053
06-05-31 조회 4,471
06-05-31 조회 3,329
06-05-30 조회 3,790