[javascript] 스크롤 메뉴
로빈아빠
본문
<HEAD>
<STYLE TYPE="text/css">
body { background: #ffffee;
font-family: 돋움;
font-size: 9pt;
line-height: 160%;
text-align: justify;
vertical-align: top
}
A:link { color:#c92477;font-size:9pt;text-decoration:none; }
A:visited { color:#c92477;font-size:9pt;text-decoration:none; }
A:active { color:#c92477;font-size:9pt;text-decoration:none; }
A:hover { background:#ffffee;color:#787878;text-decoration:underline; }
</STYLE>
<script language="JavaScript">
var sRepeat=null;
function doScrollerIE(dir, src, amount) {
if (amount==null) amount=10;
if (dir=="up")
document.all[src].scrollTop-=amount;
else
document.all[src].scrollTop+=amount;
if (sRepeat==null)
sRepeat = setInterval("doScrollerIE('" + dir + "','" + src + "'," + amount + ")",100);
return false
}
window.document.onmouseout = new Function("clearInterval(sRepeat);sRepeat=null");
window.document.ondragstart = new Function("return false");
</script>
</HEAD>
<BODY>
<CENTER><BR><BR>
<TABLE WIDTH=155 CELLPADDING=0 CELLSPACING=0 BORDER=1 BGCOLOR=#6699cc BORDERCOLORLIGHT=#3366cc BORDERCOLORDARK=#99ccff>
<TR>
<TD ALIGN=LEFT HEIGHT=20 onmouseover="this.style.backgroundColor = '#99cc00';" onmouseout="this.style.backgroundColor = '';">
<A style="text-indent: 0px;" ONMOUSEOVER="return doScrollerIE('up','s1',10)" ONMOUSEOUT="clearInterval(sRepeat)"HREF="#">
위로
</A>
</TD>
</TR>
<TR>
<TD BGCOLOR=99ccff>
<DIV ID=s1 STYLE="width: 160; height: 120; overflow: hidden; background: #99ccff; margin-left: 5px;">
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">1.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">2.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">2.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">4.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">5.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">6.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">7.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">8.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">9.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">10.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">11.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">12.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">13.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">14.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">15.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">17.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">18.원하는 메뉴를 적으세요</A><BR>
</DIV>
</TD>
</TR>
<TR>
<TD ALIGN=RIGHT HEIGHT=20 onmouseover="this.style.backgroundColor = '#99cc00';" onmouseout="this.style.backgroundColor = '';">
<A style="text-indent: 0px;" ONMOUSEOVER="return doScrollerIE('down','s1',10)" ONMOUSEOUT="clearInterval(sRepeat)" HREF="#">
아래로
</A>
</TD>
</TR>
</TABLE>
</CENTER>
</BODY>
[이 게시물은 VIRHAC님에 의해 2009-09-13 14:38:24 HTML에서 이동 됨]
<STYLE TYPE="text/css">
body { background: #ffffee;
font-family: 돋움;
font-size: 9pt;
line-height: 160%;
text-align: justify;
vertical-align: top
}
A:link { color:#c92477;font-size:9pt;text-decoration:none; }
A:visited { color:#c92477;font-size:9pt;text-decoration:none; }
A:active { color:#c92477;font-size:9pt;text-decoration:none; }
A:hover { background:#ffffee;color:#787878;text-decoration:underline; }
</STYLE>
<script language="JavaScript">
var sRepeat=null;
function doScrollerIE(dir, src, amount) {
if (amount==null) amount=10;
if (dir=="up")
document.all[src].scrollTop-=amount;
else
document.all[src].scrollTop+=amount;
if (sRepeat==null)
sRepeat = setInterval("doScrollerIE('" + dir + "','" + src + "'," + amount + ")",100);
return false
}
window.document.onmouseout = new Function("clearInterval(sRepeat);sRepeat=null");
window.document.ondragstart = new Function("return false");
</script>
</HEAD>
<BODY>
<CENTER><BR><BR>
<TABLE WIDTH=155 CELLPADDING=0 CELLSPACING=0 BORDER=1 BGCOLOR=#6699cc BORDERCOLORLIGHT=#3366cc BORDERCOLORDARK=#99ccff>
<TR>
<TD ALIGN=LEFT HEIGHT=20 onmouseover="this.style.backgroundColor = '#99cc00';" onmouseout="this.style.backgroundColor = '';">
<A style="text-indent: 0px;" ONMOUSEOVER="return doScrollerIE('up','s1',10)" ONMOUSEOUT="clearInterval(sRepeat)"HREF="#">
위로
</A>
</TD>
</TR>
<TR>
<TD BGCOLOR=99ccff>
<DIV ID=s1 STYLE="width: 160; height: 120; overflow: hidden; background: #99ccff; margin-left: 5px;">
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">1.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">2.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">2.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">4.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">5.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">6.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">7.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">8.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">9.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">10.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">11.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">12.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">13.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">14.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">15.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">17.원하는 메뉴를 적으세요</A><BR>
<A CLASS=main HREF="http://enyo.interpia98.net/~khim/" target="blank">18.원하는 메뉴를 적으세요</A><BR>
</DIV>
</TD>
</TR>
<TR>
<TD ALIGN=RIGHT HEIGHT=20 onmouseover="this.style.backgroundColor = '#99cc00';" onmouseout="this.style.backgroundColor = '';">
<A style="text-indent: 0px;" ONMOUSEOVER="return doScrollerIE('down','s1',10)" ONMOUSEOUT="clearInterval(sRepeat)" HREF="#">
아래로
</A>
</TD>
</TR>
</TABLE>
</CENTER>
</BODY>
[이 게시물은 VIRHAC님에 의해 2009-09-13 14:38:24 HTML에서 이동 됨]
관련링크
댓글목록
등록된 댓글이 없습니다.