묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
팝업창 띄우기-한 페이지당 하나(부모, 자식)
2004.04.23 22:34
플래시에서 음악을 삽입한 swf파일을 html로 만들어 팝업형식으로 띄웠습니다
문제는 메뉴창에서 띄운것이 문제지요
인덱스-인트로-메뉴 -...이런형식이거든요
각 페이지를 갈려면 메뉴를 꼭 거쳐야 하는~~~
그래서 팝업창이 하나 떠있으면 또뜨고 그러네요
제가 알고 싶은건 팝업창이 있으면 안뜨고 안떴을땐 뜨고 그런 팁 있나 해서요
최소한 팝업창이 있을땐 더이상 안떴으면 싶네요~
꼭 알려주세요~http://www.goomul.com
이건 음악이 들어있는 팝업창 이고요
<html>
<head>
<title>music</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
function open_win(url){
var height = screen.height;
var width = screen.width;
var leftpos = width / 2 - 350;
var toppos = height / 2 - 100;
window.open(url,"","scrollbars=no,status=no,toolbar=no,resizable=yes,location=no,menu=no,width=350,height=100,left=" + leftpos + ",top=" + toppos);
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="300" height="60" align="left" vspace="0" hspace="0">
<param name=movie value="music.swf">
<param name=quality value=high>
<embed src="music.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="300" height="60" align="left" vspace="0" hspace="0">
</embed>
</object>
</body>
</html>
이건 팝업창이 뜰 부모입니다~
<html>
<head>
<title>menu</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="javascript">
window.open("music.html","","left=100 top=100 width=350 height=100")
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="800" height="600">
<param name=movie value="menu.swf">
<param name=quality value=high>
<embed src="menu.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="600">
</embed>
</object>
</body>
</html>
문제는 메뉴창에서 띄운것이 문제지요
인덱스-인트로-메뉴 -...이런형식이거든요
각 페이지를 갈려면 메뉴를 꼭 거쳐야 하는~~~
그래서 팝업창이 하나 떠있으면 또뜨고 그러네요
제가 알고 싶은건 팝업창이 있으면 안뜨고 안떴을땐 뜨고 그런 팁 있나 해서요
최소한 팝업창이 있을땐 더이상 안떴으면 싶네요~
꼭 알려주세요~http://www.goomul.com
이건 음악이 들어있는 팝업창 이고요
<html>
<head>
<title>music</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
function open_win(url){
var height = screen.height;
var width = screen.width;
var leftpos = width / 2 - 350;
var toppos = height / 2 - 100;
window.open(url,"","scrollbars=no,status=no,toolbar=no,resizable=yes,location=no,menu=no,width=350,height=100,left=" + leftpos + ",top=" + toppos);
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="300" height="60" align="left" vspace="0" hspace="0">
<param name=movie value="music.swf">
<param name=quality value=high>
<embed src="music.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="300" height="60" align="left" vspace="0" hspace="0">
</embed>
</object>
</body>
</html>
이건 팝업창이 뜰 부모입니다~
<html>
<head>
<title>menu</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="javascript">
window.open("music.html","","left=100 top=100 width=350 height=100")
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="800" height="600">
<param name=movie value="menu.swf">
<param name=quality value=high>
<embed src="menu.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="600">
</embed>
</object>
</body>
</html>