묻고답하기

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

꼭 좀 이 소스를 쓰고 싶은데 문제없이 쓸 수 있는 방법은 없나요. 현재 버전은 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] 2007.08.10
hansol 클릭하지 않고 시작할때 바로 뜨게 할 수 없나요? [2] 2007.08.10
트루 플래시에 주소창없는 새창 [1] 2007.08.10
오형민 저가 내일까지 작업해야 하는건데 급해서 그렇습니다.. 꼭좀 부탁드립니다.. head파일관련입니다..  
최진만 꼭 좀 부탁드립니다. 정말 아시는분 가르쳐주세요....ㅠ.ㅠ(테두리색상안나오게) [1] 2007.08.10
몽당연필 제로보드XE 설치가 안됩니다. ㅠㅠ  
shin 초보자의 설치에관한 질문 [3] 2007.08.15
천애련 원프레임에서 플래시가 안 떠요 [1] 2007.08.21
jeffjung 도움을 부탁드립니다..(설치오류)  
꽃방구 디비 덤프후 에러... [1] file 2007.08.29
fecom 설치시 error 로그좀 봐주세요 [1] 2007.09.12
이지우 좌측 메뉴 부분 공간 없애기 [2] 2007.09.15
김양석 설치시 에러? [2] file 2007.09.16
겨울도롱이 테이블과 아이프레임을 사용해서 홈페이지를 만들었는데 [2] 2007.09.30
해피몽 첨부 파일 이상 문의  
쭈빠 초보인데요 질문답변부탁드립니다^^ [3] 2007.10.14
뇌쫄 플래쉬 메뉴 도움좀 주세요..ㅠ  
아레테 등록시 변형 [1] file 2007.11.05 by 아레테
아레테 실행 오류인가요?  
OZzi 위젯만 입력하면 백지가 되어버려요. [3] 2007.12.14 by 도토리나무