본문
<div id=floater1 style="position:absolute;left:70; top:50; width:80; height:77; z-index:10">
<img src="http://data.simfile.chol.com/MANAGE/inside/simfile_fly_banner/1231238878" border=0 alt=심파일 2008 어워드 이벤트></a></div>
<script>
//스크롤시 따라움직이는 메뉴
function heartBeat()
{
var yMenu1From, yMenu1To, yOffset, timeoutNextCheck;
var wndWidth = parseInt(document.body.clientWidth);
floater1_obj = document.getElementById('floater1');
yMenu1From = parseInt (floater1_obj.style.top, 10);
yMenu1To = document.body.scrollTop + 80; // 위쪽 위치
timeoutNextCheck = 100;
if ( yMenu1From != yMenu1To ) {
yOffset = Math.ceil( Math.abs( yMenu1To - yMenu1From ) / 20 );
if ( yMenu1To < yMenu1From )
yOffset = -yOffset;
floater1_obj.style.top = parseInt (floater1_obj.style.top, 10) + yOffset;
timeoutNextCheck = 5;
}
setTimeout ("heartBeat()", timeoutNextCheck);
}
heartBeat();
//스크롤시 따라움직이는 메뉴
function speedPhoneUpload()//움직이는 메뉴 클릭시 div팝업
{
openWin_Center('phoneSpeedUploader','http://simfile.chol.com/phone/popup/phone_img_add.php','700','530');
}
</script>
댓글목록
등록된 댓글이 없습니다.