E

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

<!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>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
19년 전 조회 2,058
19년 전 조회 3,488
19년 전 조회 2,315
19년 전 조회 2,831
19년 전 조회 2,474
19년 전 조회 4,499
19년 전 조회 2,617
19년 전 조회 2,890
19년 전 조회 3,642
19년 전 조회 3,843
19년 전 조회 3,386
19년 전 조회 2,604
19년 전 조회 3,170
19년 전 조회 4,033
19년 전 조회 3,906
19년 전 조회 1,837
19년 전 조회 2,333
19년 전 조회 5,552
19년 전 조회 6,843
19년 전 조회 2,688
19년 전 조회 2,255
19년 전 조회 2,728
19년 전 조회 3,400
19년 전 조회 3,632
19년 전 조회 3,112
19년 전 조회 2,732
19년 전 조회 4,842
19년 전 조회 6,842
19년 전 조회 5,115
19년 전 조회 6,081
19년 전 조회 2,806
19년 전 조회 2,623
19년 전 조회 2,332
19년 전 조회 2,431
19년 전 조회 4,734
19년 전 조회 4,791
19년 전 조회 2,649
19년 전 조회 2,306
19년 전 조회 2,636
19년 전 조회 3,269
19년 전 조회 3,051
19년 전 조회 2,034
19년 전 조회 2,096
19년 전 조회 3,271
19년 전 조회 2,488
19년 전 조회 3,755
19년 전 조회 2,692
19년 전 조회 1,982
19년 전 조회 2,597
19년 전 조회 1,854
19년 전 조회 1,535
19년 전 조회 1,663
19년 전 조회 1,944
19년 전 조회 1,706
19년 전 조회 1,902
19년 전 조회 1,691
19년 전 조회 2,087
19년 전 조회 1,970
19년 전 조회 1,585
19년 전 조회 1,583
19년 전 조회 1,483
19년 전 조회 1,358
19년 전 조회 1,537
19년 전 조회 2,109
19년 전 조회 2,515
19년 전 조회 3,018
19년 전 조회 2,442
19년 전 조회 1,932
19년 전 조회 7,154
19년 전 조회 3,855
19년 전 조회 2,467
19년 전 조회 2,480
19년 전 조회 2,973
19년 전 조회 5,899
19년 전 조회 5,687
19년 전 조회 2,369
19년 전 조회 3,425
19년 전 조회 2,990
19년 전 조회 2,344
19년 전 조회 2,860
19년 전 조회 1,715
19년 전 조회 1,866
19년 전 조회 1,964
19년 전 조회 2,135
19년 전 조회 1,804
19년 전 조회 1,949
19년 전 조회 1,907
19년 전 조회 1,987
19년 전 조회 1,657
19년 전 조회 2,773
19년 전 조회 2,103
19년 전 조회 3,370
19년 전 조회 3,404
19년 전 조회 2,657
19년 전 조회 2,737
19년 전 조회 2,564
19년 전 조회 2,817
19년 전 조회 2,814
19년 전 조회 3,284
19년 전 조회 3,000