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_tiptech&wr_id=27795
댓글을 작성하시려면 로그인이 필요합니다.

자유게시판

+
제목 글쓴이 날짜 조회
14년 전 조회 1,155
14년 전 조회 1,116
14년 전 조회 1,176
14년 전 조회 1,175
14년 전 조회 1,264
14년 전 조회 1,121
14년 전 조회 1,662
14년 전 조회 1,222
14년 전 조회 1,134
14년 전 조회 3,826
14년 전 조회 1,264
14년 전 조회 1,144
14년 전 조회 1.7만
14년 전 조회 2,455
14년 전 조회 1,247
14년 전 조회 1,202
14년 전 조회 1,371
14년 전 조회 1,149
14년 전 조회 1,204
14년 전 조회 1,111
14년 전 조회 3,682
14년 전 조회 1,368
14년 전 조회 1,082
14년 전 조회 1,424
14년 전 조회 1,834
14년 전 조회 1,085
14년 전 조회 1,126
14년 전 조회 1,182
14년 전 조회 1,347
14년 전 조회 1,098