묻고답하기

메인화면에 이미지 슬라이딩 같이 쓰려고 아래 소스를 구해서 넣었더니 메인 홈페이지 접속 시도만 계속되는 군요.

꼭 좀 이 소스를 쓰고 싶은데 문제없이 쓸 수 있는 방법은 없나요. 현재 버전은 1.2.3 입니다.

홈페이지는 이곳이고요.      http://newthing.kr

소스는 아래

<table style="line-height:150%;" align="center" cellpadding="0" cellspacing="0" width="500">
<tr>
<td width="500" height="200">
<SCRIPT>

function checkifloaded() {  
   if (imgpreload.complete) {
        nowtime=new Date()
        nowtime=nowtime.getTime()
        nowtime=nowtime-starttime
        var interval=standstill-nowtime
        if (interval<=0 ) {
            interval=1
        }
        if (firstslide) {
            interval=1
            firstslide=false
        }
        if (i_preloadloop==i_loop) {
            interval=1
        }
        timerrotate=setTimeout("rotateimages()", interval)
   }
   else {
        timercheck=setTimeout("checkifloaded()", 100)
   }
}

function preloadimage() {
        imgpreload=new Image()
        imgpreload.src="./imgurl[i_preloadloop]
}

function rotateimages() {
    i_loop=i_preloadloop
    i_preloadloop=randommaker()  
    checkpreloadtime()
    preloadimage()
    getcontent()
    if (document.all) {
        imgs.filters[i_transition].apply()
        imgs.innerHTML=contentimg
        imgs.filters[i_transition].play()
        i_transition++
        if (i_transition>21) {i_transition=0}
        mes.innerHTML=contentmes
    }    
    if (ns6) {
        document.getElementById("imgs').innerHTML=contentimg
        document.getElementById('mes').innerHTML=contentmes
    }
    if (document.layers) {
        document.topdiv.document.imgs.document.write(contentimg)
        document.topdiv.document.imgs.document.close()
        document.topdiv.document.mes.document.write(contentmes)
        document.topdiv.document.mes.document.close()
    }
    i_loop++
    checkifloaded()    
}

function randommaker() {                
        rand=Math.floor(slideshowlength*Math.random())
    return rand

}

function getcontent() {
    contentimg="<img src="./+imgurl[i_loop]+">"
    contentmes="<table cellpadding=2 cellspacing=0 border=0 bgcolor="+bgrndcolor+" width="+imagewidth+"><tr><td><font size="+fntsize+" color="+fntcolor+" face="+fntfamily+">"+message[i_loop]+"</font></td></tr></table>"
}

if (document.all) {
    document.write('<div id="topdiv" style="position:relative;width:'+imagewidth+'px;height:'+topdivheight+'px">')
    document.write('<div id="mes" style="position:absolute;"> </div>')
    document.write('<div id="imgs" style="position:absolute;filter: revealTrans(Transition=1, Duration=2) revealTrans(Transition=2, Duration=2) revealTrans(Transition=3, Duration=2)  revealTrans(Transition=4, Duration=2)  revealTrans(Transition=5, Duration=1)  revealTrans(Transition=6, Duration=2)  revealTrans(Transition=7, Duration=2)  revealTrans(Transition=8, Duration=1)  revealTrans(Transition=9, Duration=2)  revealTrans(Transition=10, Duration=1)  revealTrans(Transition=11, Duration=2)  revealTrans(Transition=12, Duration=2)  revealTrans(Transition=13, Duration=1)  revealTrans(Transition=14, Duration=2)  revealTrans(Transition=15, Duration=2)  revealTrans(Transition=16 Duration=1)  revealTrans(Transition=17, Duration=2)  revealTrans(Transition=18, Duration=2) revealTrans(Transition=19, Duration=1) revealTrans(Transition=20, Duration=2) revealTrans(Transition=21, Duration=2) revealTrans(Transition=22, Duration=2)"> </div>')
    document.write('</div>')    
}

if (ns6) {
    document.write('<div id="topdiv" style="position:relative;width:'+imagewidth+'px;height:'+topdivheight+'px">')
    document.write('<div id="mes" style="position:absolute;"> </div>')
    document.write('<div id="imgs" style="position:absolute;"> </div>')
    document.write('</div>')    
}

if (document.layers) {
    document.write('<ilayer name="topdiv" width='+imagewidth+' height='+topdivheight+'>')
    document.write('<layer name="mes"> </layer>'+ '+ ')
    document.write('<layer name="imgs"> </layer>')
    document.write('</ilayer>')    
}

function checkpreloadtime() {
  
     starttime= new Date()
        starttime=starttime.getTime()
}

function checktime() {

}

window.onresize=new Function("window.location.reload()");
window.onload=init

</SCRIPT>
        </td>
    </tr>
</table>

 

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
김중환 1.1.5로 업데이트 후 메인레이아웃의 문제 발생 file  
한마디 mmx900님의 작품 ''팝업창 출력'' newest_popup을... [1] file 2009.04.11 by 한마디
만쓰별(정만) 이미지 추가 콤퍼넌트 오류신고 [1] file 2009.04.18 by 비나무
고사범 이 소스가 달리나오는 이유를 알고 싶습니다.  
acefull 오류좀 도와주세요~  
Jeff Yi 오류좀 도와주세요..미치겠습니다.  
Jeff Yi 도와주세요~~ [3] 2009.04.28 by Jeff Yi
rkawk102 아이프레임이요.. [2] 2009.05.13 by 비나무
경동가슴보일라 홈페이지에 다음과 같은 오류가 나옵니다..  
불패의초인 아쿠아 엠프 질문좀요~ㅠㅠ file  
reform html클릭하고<iframe>소스올려도 안되네요 [6] 2009.05.24 by 백성찬
인류구원 이미지 슬라이딩 [1] 2009.06.07 by 인류구원
쏘프티 페이지에서 get으로 보내는 java script에서 UTF-8 변환 문제  
kangta 2차 메뉴가 마우스따라 내려가는 기능?  
cjcl15 스크립트 어느 구문에서 생성되는거 같나요?  
글쓴이 파일첨부시 문제  
뮤랑이 에디터 컴포넌트 만드는데 도움 요청합니다. (팁이라도..예시라도..ㅜㅜ) [1] 2009.07.19 by 팩토리
dusskapark 게시판이 작동을 안해요..도와주세요..ㅠㅠㅠ  
모노로그 XE를 원활히 쓰기 위한, php.ini 의 설정에 대하여.. [2] 2009.07.22 by 모노로그
호감이 페이지 에서 직접내용 넣는데(html) 저장후 사라지고 아무것도 없음