채택완료
자바스크립트 안에 http redirect 넣는 방법
Copy
$(".text_ox2").find(".to9").delay(2800).animate({ opacity : 1, top : 10 }, 1000) $(".text_ox2").find(".to10").delay(2900).animate({ opacity : 1, top : 10 }, 1000) $(".text_ox2").find(".to11").delay(3000).animate({ opacity : 1, top : 10 }, 1000) $(".text_ox2").find(".to12").delay(3100).animate({ opacity : 1, top : 10 }, 1000) //$(".text_ox2").find(".to12").delay(4500).animate({ opacity : 1, top : 40 }); $(".text_ox2").find(".to12").delay(2000).animate({ opacity : 1 }, function(){ var time = "/index.php"; $(location).attr("href", time); })
script 안에 저렇게 넣었는데 네이버 검색등록에서 스크립트로 url을 날리는 것 때문인지
사이트가 아예 뜨질 않더라구요..
스크립트 안에 meta태그나 header(location:) 같은걸 넣는 방법이 없을까요?
|
답변 1개 / 댓글 3개
채택된 답변
+20 포인트
//주소이동
location.href = "url";
//새로고침
location.reload();
안먹히는가요??
답변에 대한 댓글 3개
답변을 작성하려면 로그인이 필요합니다.