나리양을 위한 특별한 소스 모음 -
새창 틔우는 코드
// 이 코드는 카페 대문 소스중.. <head> </head> 사이에 붙여넣어라..
<html>
<head>
<script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
// 그리고.. 새창을 자동으로 띄우는 코드는 바로 아래에 있는 <body> 코드 안에 넣어라..
<body onload="MM_openBrWindow('새창 파일이 있는 웹주소/new_win.html','1','width=300,height=300')">
위와 같은 방법으로.. 대문 소스중 제일 위에 붙여넣고..
새창 즉.. new_win.html 파일을 만들어서.. 웹상에 올려놓고.. 그리고.. 플레이어 파일도 같은 위치에 올려놔라..^^
새창에 들어갈 파일구성은 아래와 같이 메모장에 붙여넣고.. 저장할때 파일형식을 모든파일로... 파일명은 new_win.html으로 저장해라..
새창 코드는....
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>플레이어 다운받기</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style1 {font-size: 12px}
.style2 {
font-size: 13px;
color: #0000FF;
}
a:link {
font-family: "돋움";
font-size: 12px;
color: #FF0000;
text-decoration: none;
}
a:visited {
font-family: "돋움";
font-size: 12px;
color: #FF0000;
text-decoration: none;
}
a:hover {
font-family: "돋움";
font-size: 12px;
color: #FF00FF;
text-decoration: none;
}
-->
</style>
</head>
<body>
<table width="300" height="300" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><p class="style2">MST 플레이어 다운로드</p>
<p class="style2">프레이어가 보이지 않으신 분은</p>
<p class="style2">다운 받아 설치하시기 바랍니다.</p>
<p class="style1"> </p>
<p><span class="style1"><a href="MST-Player20.exe">MST-Player20 다운받기 </a></span></p></td>
</tr>
</table>
</body>
</html>
위 코드를 싹 복사해서.. 붙여넣고. 꼭.. new_win.html로 저장해야 된다.