파폭에서 자바 먹통되네요~ 답변 기다림.

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 : http://www.cutiey.com

파이어폭스에서 로딩페이지(자바스크립트로 만듬.) 먹통되서 안넘어가지네요~
해결 방법 없을까요?
|

댓글 3개

setTimeOut();

함수를 사용하여, 5초 후 이동하는 함수를 새로 선언하여 하면 될 듯.
<script type="text/javascript">
Time();

function Time()
{

setTimeout("Move()", "5000");

}

function Move()
{

document.location.href = "http://www.zombi.kr";

}
</script>
<script language="JavaScript1.2">
// 지연시간을 설정(초)
var duration=1

function postaction(){
// 로딩바를 보여준 후 이동할 페이지
window.location="/cy"
}

var clipright=0
var widthIE=0
var widthNS=0

function initializebar(){
if (document.all){
baranchor.style.visibility="visible"
widthIE=bar.style.pixelWidth
startIE=setInterval("increaseIE()",50)
}
if (document.layers){
widthNS=document.baranchorNS.document.barbackgroundNS.clip.width
document.baranchorNS.document.barNS.clip.right=0
document.baranchorNS.visibility="show"

startNS=setInterval("increaseNS()",50)
}
}

function increaseIE(){
bar.style.clip="rect(0 "+clipright+" auto 0)"
window.status="Loading..."
if (clipright<widthIE)
clipright=clipright+(widthIE/(duration*20))
else{
window.status=''
clearInterval(startIE)
postaction()
}
}

function increaseNS(){
if (clipright<202){
window.status="Loading..."
document.baranchorNS.document.barNS.clip.right=clipright
clipright=clipright+(widthNS/(duration*20))
} else{
window.status=''
clearInterval(startNS)
postaction()
}
}

window.onload=initializebar
</script>

제가 사용하는 소스는 이건데요
유아원님이 알려주신대로 교체했는데
넘어가기는하는데 페이지가 오류 나네요..ㅜㅜ
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
17년 전 조회 812
17년 전 조회 734
17년 전 조회 707
17년 전 조회 944
17년 전 조회 702
17년 전 조회 968
17년 전 조회 841
17년 전 조회 780
17년 전 조회 722
17년 전 조회 970
17년 전 조회 957
17년 전 조회 838
17년 전 조회 712
17년 전 조회 792
17년 전 조회 805
17년 전 조회 801
17년 전 조회 789
17년 전 조회 839
17년 전 조회 971
17년 전 조회 783