Rev. 2.73

// 이부분을 해드에 추가한다.

<SCRIPT language=javascript>
<!--

function Init() {

	ScrollMenu();

}

function ScrollMenu(){

	var bNetscape4plus = (navigator.appName == "Netscape" &amp;amp;amp;&amp;amp;amp; navigator.appVersion.substring(0,1) >= "4"); 
	var bExplorer4plus = (navigator.appName == "Microsoft Internet Explorer" &amp;amp;amp;&amp;amp;amp; navigator.appVersion.substring(0,1) >= "4"); 

	var menuFrom, menuTo, timerCheck, offset;
	var iMenu;

	if ( bNetscape4plus ) { 
		iMenu		= document.getElementById("inteliMenu");
	} 
	else if ( bExplorer4plus ) {
		iMenu		= inteliMenu;
	}

	menuFrom	= parseInt (iMenu.style.top, 10); 
	menuTo		= document.body.scrollTop + 20;

	timerCheck = 500;

	if ( menuFrom != menuTo ) { 
			offset = Math.ceil( Math.abs( menuTo - menuFrom ) / 10 ); 
			if ( menuTo < menuFrom ) 
				offset = -offset; 

			iMenu.style.top = parseInt (iMenu.style.top, 10) + offset; 

			timerCheck = 10;
	}

	setTimeout ("ScrollMenu()", timerCheck); 
}

-->
</SCRIPT>


<BODY onload=Init();>


//따라다닐 테이블

<TABLE cellSpacing=0 cellPadding=0 width=975 align=center border=0>
  <TBODY>
  <TR>
    <TD width=375>
      <DIV id=inteliMenu style="POSITION: absolute; TOP: 20px">
      <TABLE cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD vAlign=top width=154>
            <TABLE class=Window cellSpacing=0 cellPadding=0 width=150 
              border=0><TBODY>
              <TR>
                <TD style="PADDING-TOP: 10px" align=middle>메뉴 내용 입력</TD></TR></TBODY></TABLE>
       </TD></TR></TBODY></TABLE></DIV>
   </TD></TR></TBODY></TABLE>

Comments

Got something to add? You can just leave a comment.

Your Reaction Time!

captcha

avatar