D-day 남은시간표시할려고 하는데..

<script type="text/javascript"> 
var fe_end_time = 650857; 
function fe_run_timer() 

    var timer = document.getElementById("fe_end_timer"); 

    dd = Math.floor(fe_end_time/(60*60*24)); 
    hh = Math.floor((fe_end_time%(60*60*24))/(60*60)); 
    mm = Math.floor(((fe_end_time%(60*60*24))%(60*60))/60); 
    ii = Math.floor((((fe_end_time%(60*60*24))%(60*60))%60)); 

    var str = ""; 

    if (dd > 0) str += dd + "일 "; 
    if (hh > 0) str += hh + "시간 "; 
    if (mm > 0) str += mm + "분 "; 
    str += ii + "초 "; 

    //timer.style.color = "#FF6C00"; 
    timer.style.color = "#FF0000"; 
    timer.style.fontWeight = "bold"; 
    timer.innerHTML = str; 

    fe_end_time--; 

    if (fe_end_time < 0) clearInterval(tid); 

fe_run_timer(); 
fe_tid = setInterval('fe_run_timer()', 1000); 
</script> 

var fe_end_time = ; 
여기서 이부분 어떻게 호출해야하나요?
|

댓글 2개

http://sir.co.kr/bbs/board.php?bo_table=g4_qa
마침 제가 올린팁이있습니다.^^ 참고하세요
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=27795
댓글을 작성하시려면 로그인이 필요합니다. 로그인

자유게시판

+
제목 글쓴이 날짜 조회
14년 전 조회 1,142
14년 전 조회 1,098
14년 전 조회 1,161
14년 전 조회 1,155
14년 전 조회 1,242
14년 전 조회 1,108
14년 전 조회 1,648
14년 전 조회 1,209
14년 전 조회 1,119
14년 전 조회 3,809
14년 전 조회 1,249
14년 전 조회 1,126
14년 전 조회 1.7만
14년 전 조회 2,435
14년 전 조회 1,228
14년 전 조회 1,182
14년 전 조회 1,354
14년 전 조회 1,127
14년 전 조회 1,192
14년 전 조회 1,089
14년 전 조회 3,655
14년 전 조회 1,347
14년 전 조회 1,056
14년 전 조회 1,401
14년 전 조회 1,817
14년 전 조회 1,069
14년 전 조회 1,104
14년 전 조회 1,160
14년 전 조회 1,324
14년 전 조회 1,082
🐛 버그신고