<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>스크롤바 따라다니는 메뉴 </title>
<style>
<!--
body,td{font-size:10pt}
//-->
</style>
<script language="javascript">
<!--
var stmnLEFT = 10; // 왼쪽 여백 (메뉴가 왼쪽에서 10픽셀 떨어진 곳에 보여집니다)
var stmnGAP1 = 10; // 위쪽 여백 (메뉴가 위에서 10픽셀 떨어진 곳에 보여집니다)
var stmnGAP2 = 10; // 스크롤시 브라우저 위쪽과 떨어지는 거리
var stmnBASE = 150; // 스크롤 시작위치
var stmnActivateSpeed = 200;
var stmnScrollSpeed = 10;
var stmnTimer;
function ReadCookie(name)
{
var label = name + "=";
var labelLen = label.length;
var cLen = document.cookie.length;
var i = 0;
while (i < cLen) {
var j = i + labelLen;
if (document.cookie.substring(i, j) == label) {
var cEnd = document.cookie.indexOf(";", j);
if (cEnd == -1) cEnd = document.cookie.length;
return unescape(document.cookie.substring(j, cEnd));
}
i++;
}
return "";
}
function SaveCookie(name, value, expire)
{
var eDate = new Date();
eDate.setDate(eDate.getDate() + expire);
document.cookie = name + "=" + value + "; expires=" + eDate.toGMTString()+ "; path=/";
}
function RefreshStaticMenu()
{
var stmnStartPoint, stmnEndPoint, stmnRefreshTimer;
stmnStartPoint = parseInt(STATICMENU.style.top, 10);
stmnEndPoint = document.body.scrollTop + stmnGAP2;
if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1;
stmnRefreshTimer = stmnActivateSpeed;
if ( stmnStartPoint != stmnEndPoint ) {
stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) / 15 );
STATICMENU.style.top = parseInt(STATICMENU.style.top, 10) + ( ( stmnEndPoint<stmnStartPoint ) ? -stmnScrollAmount : stmnScrollAmount );
stmnRefreshTimer = stmnScrollSpeed;
}
stmnTimer = setTimeout ("RefreshStaticMenu();", stmnRefreshTimer);
}
function ToggleAnimate()
{
if (ANIMATE.checked) {
RefreshStaticMenu();
SaveCookie("ANIMATE", "true", 300);
}
else {
clearTimeout(stmnTimer);
STATICMENU.style.top = stmnGAP1;
SaveCookie("ANIMATE", "false", 300);
}
}
function InitializeStaticMenu()
{
STATICMENU.style.left = stmnLEFT;
if (ReadCookie("ANIMATE") == "false") {
ANIMATE.checked = false;
STATICMENU.style.top = document.body.scrollTop + stmnGAP1;
}
else {
ANIMATE.checked = true;
STATICMENU.style.top = document.body.scrollTop + stmnBASE;
RefreshStaticMenu();
}
}
//-->
</script>
</head>
<body onLoad="InitializeStaticMenu();">
<div id="STATICMENU" style="width:200px; height:200px; position:absolute; left:-5000px; top:0px; z-index:100;">
<table style="border:solid 1px silver;" cellpadding="2" cellspacing="2" width="200"bgcolor="white">
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 1</p> </td>
</tr>
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 2</p> </td>
</tr>
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 3</p> </td>
</tr>
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 4</p> </td>
</tr>
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 5</p> </td>
</tr>
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 6</p> </td>
</tr>
<tr>
<td width="200" align=center>
<p><input id="ANIMATE" type="checkbox" onclick="ToggleAnimate();">스크롤 기능 끄기</p>
</td>
</tr>
</table>
</div>
<table>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
</table>
</body>
</html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>스크롤바 따라다니는 메뉴 </title>
<style>
<!--
body,td{font-size:10pt}
//-->
</style>
<script language="javascript">
<!--
var stmnLEFT = 10; // 왼쪽 여백 (메뉴가 왼쪽에서 10픽셀 떨어진 곳에 보여집니다)
var stmnGAP1 = 10; // 위쪽 여백 (메뉴가 위에서 10픽셀 떨어진 곳에 보여집니다)
var stmnGAP2 = 10; // 스크롤시 브라우저 위쪽과 떨어지는 거리
var stmnBASE = 150; // 스크롤 시작위치
var stmnActivateSpeed = 200;
var stmnScrollSpeed = 10;
var stmnTimer;
function ReadCookie(name)
{
var label = name + "=";
var labelLen = label.length;
var cLen = document.cookie.length;
var i = 0;
while (i < cLen) {
var j = i + labelLen;
if (document.cookie.substring(i, j) == label) {
var cEnd = document.cookie.indexOf(";", j);
if (cEnd == -1) cEnd = document.cookie.length;
return unescape(document.cookie.substring(j, cEnd));
}
i++;
}
return "";
}
function SaveCookie(name, value, expire)
{
var eDate = new Date();
eDate.setDate(eDate.getDate() + expire);
document.cookie = name + "=" + value + "; expires=" + eDate.toGMTString()+ "; path=/";
}
function RefreshStaticMenu()
{
var stmnStartPoint, stmnEndPoint, stmnRefreshTimer;
stmnStartPoint = parseInt(STATICMENU.style.top, 10);
stmnEndPoint = document.body.scrollTop + stmnGAP2;
if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1;
stmnRefreshTimer = stmnActivateSpeed;
if ( stmnStartPoint != stmnEndPoint ) {
stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) / 15 );
STATICMENU.style.top = parseInt(STATICMENU.style.top, 10) + ( ( stmnEndPoint<stmnStartPoint ) ? -stmnScrollAmount : stmnScrollAmount );
stmnRefreshTimer = stmnScrollSpeed;
}
stmnTimer = setTimeout ("RefreshStaticMenu();", stmnRefreshTimer);
}
function ToggleAnimate()
{
if (ANIMATE.checked) {
RefreshStaticMenu();
SaveCookie("ANIMATE", "true", 300);
}
else {
clearTimeout(stmnTimer);
STATICMENU.style.top = stmnGAP1;
SaveCookie("ANIMATE", "false", 300);
}
}
function InitializeStaticMenu()
{
STATICMENU.style.left = stmnLEFT;
if (ReadCookie("ANIMATE") == "false") {
ANIMATE.checked = false;
STATICMENU.style.top = document.body.scrollTop + stmnGAP1;
}
else {
ANIMATE.checked = true;
STATICMENU.style.top = document.body.scrollTop + stmnBASE;
RefreshStaticMenu();
}
}
//-->
</script>
</head>
<body onLoad="InitializeStaticMenu();">
<div id="STATICMENU" style="width:200px; height:200px; position:absolute; left:-5000px; top:0px; z-index:100;">
<table style="border:solid 1px silver;" cellpadding="2" cellspacing="2" width="200"bgcolor="white">
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 1</p> </td>
</tr>
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 2</p> </td>
</tr>
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 3</p> </td>
</tr>
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 4</p> </td>
</tr>
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 5</p> </td>
</tr>
<tr>
<td width="200" style="border-bottom:1px silver solid" bgcolor="white" align=center><p>메뉴 - 6</p> </td>
</tr>
<tr>
<td width="200" align=center>
<p><input id="ANIMATE" type="checkbox" onclick="ToggleAnimate();">스크롤 기능 끄기</p>
</td>
</tr>
</table>
</div>
<table>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
<tr><td>asdfjlaskdflaksdlfaksdjfasdlfkasldkfjasldkfjlsd</td></tr>
</table>
</body>
</html>
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
» | 스크롤바를 따라다니는 메뉴판 | 박상현 | 2003.12.04 | 1567 |
17 | 스크롤바를 따라다니는 이미지 | 박상현 | 2003.12.04 | 1684 |
16 | 이벤트 종류알기 및 좌표 읽기 | 박상현 | 2003.12.03 | 1989 |
15 | 문서크기에 맞게 아이프레임폭 자동으로 조정하기 | 박상현 | 2003.11.17 | 1923 |
14 | 목록에서 선택된 라인에만 색칠하고 다른것은 이전색으로 변경하기 | 박상현 | 2003.11.13 | 1701 |
13 | 목록에서 다중 선택된 항목을 표시(특정색상)하고 체크박스를 선택해주는 스크립트 | 박상현 | 2003.11.07 | 2835 |
12 | 여러가지의 색으로 롤오버 효과및 항목을 선택시 선택된 색을 고정시키는 예제 | 박상현 | 2003.11.07 | 2208 |
11 | event.keyCode의 숫자표 | 박상현 | 2003.10.20 | 1862 |
10 | jsp페이지에서 popup창의 depth에 따른 메인 복귀 방법 달리하기... | 박상현 | 2003.10.14 | 3489 |
9 | 색상표 | 박상현 | 2003.10.10 | 1770 |
8 | [javascript]textarea의 내용을 클립보드에 담아 처리하기 | 박상현 | 2003.10.09 | 3677 |
7 | 자바스크립트사용시 주의점 | 운영자 | 2003.10.06 | 1891 |
6 | excel로 자료 출력 | 운영자 | 2003.10.06 | 2387 |
5 | 테두리및 가로줄, 세로줄이 1px인 테이블 만들기 | 운영자 | 2003.10.01 | 2531 |
4 | table 외곽에 테두리만 1pixel로 만들기 | 운영자 | 2003.10.01 | 2249 |
3 | BB설명 | 운영자 | 2003.09.26 | 2159 |
2 | 창닫기 전에 물어보기 | 운영자 | 2003.09.26 | 2574 |
1 | popup창 띄우는 4가지 방법 | 운영자 | 2003.09.24 | 3991 |