alert 설명후 페이지 이동
페이지 정보
작성일13-02-28 00:25 조회3,427회관련링크
- 예제파일 1043회 연결
본문
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/script/style.css" type="text/css">
<title>alert 설명 창 후 이동</title>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="/script/style.css" type="text/css">
<title>alert 설명 창 후 이동</title>
<script>
function linkfunction1()
{
if(confirm("'madalla's story'로 가실래요??"))
if (navigator.appName == "Netscape") {
location.replace("http://www.madalla.kr")
}else{
window.location.href = "http://madalla.kr"
}
else
window.location.href = "alert.htm";
}
</script>
</head>
if (navigator.appName == "Netscape") {
location.replace("http://www.madalla.kr")
}else{
window.location.href = "http://madalla.kr"
}
else
window.location.href = "alert.htm";
}
</script>
</head>
<BODY bgcolor="#005A96" text="black" link="lime" vlink="#FF5025" alink="#00FF95">
<P> </P>
<P align="center"><BR></P>
<P align="center"><A href="http://www.madalla.kr" name="Button" onclick="linkfunction1();return false;"><FONT face="Arial" size="3">클릭</FONT></A><FONT face="Arial" size="3" color="white"> </FONT></P>
<P align="center"><BR></P>
<P align="center"><A href="http://www.madalla.kr" name="Button" onclick="linkfunction1();return false;"><FONT face="Arial" size="3">클릭</FONT></A><FONT face="Arial" size="3" color="white"> </FONT></P>
</body>
</html>
</html>