메인 인트로 질문

2014-01-07 (화) 04:55:39 5,323
<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
function nextWin()
{location = "이동할 URL"}
</script>
</head>
<body onLoad="setTimeout('nextWin()', 1000)"> <!--1000 이 1초 입니다.-->
바로 이동한 원하는 사이트로 이동함
</body>
</html>
 
 
예제2
<html>
<head>
<title>..</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
self.location.replace('이동할 URL');
</script>
</head>
<body>
바로 이동한 원하는 사이트로 이동함
</body>
</html>
 
 
메인화면을 플래시나 이미지로 해놓고  홈페이지 들어가기 or SKIP 이라는 버튼이 있고
 
누르면 사이트가 뜨는 형식으로 만들고 싶습니다.
 
많이 복잡한 작업인가요?
 
저 위 두 소스들로 사용이 가능하다면 어디에 저 소스를 넣어야 하나요?
|

답변 1개

2014-01-07 (화) 06:17:01
location.href = ''    or     location.replace('');

답변을 작성하려면 로그인이 필요합니다.