묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
윈도우미디어 팝업창 100%, 200% 전체화면이 안됩니다. 도와주세요!
2005.05.20 14:52
윈도우미디어 팝업창 크기조절이 먹히지 않습니다!
사실은 아무 것도 모르고 막 갖다붙여 보는 중입니다.
도와주시면 대단히 고맙겠습니다.
오류메시지 (개체가 필요합니다, 라인 : 98 (밑에 표시) 문자 : 1, 코드 : 0)
<?
require "dbconn.php";
$connect=mysql_connect($host_name,$user_name,$db_password);
mysql_select_db($db_name, $connect);
$temp=mysql_fetch_array(mysql_query("select subject, name, sitelink1, sitelink2, file_name1, file_name2, memo from zetyx_board_$id where no='$no'", $connect));
$subject=$temp[subject];
$singer=$temp[name];
$song_path2=$temp[sitelink1];
$memo=nl2br(stripslashes($temp[memo]));
// 현재글의 HIT수를 올림;;
$cookie_name="zetyx_readed_".$id."_".$no;
if(!$HTTP_COOKIE_VARS[$cookie_name])
{
mysql_query("update $t_board"."_$id set hit=hit+1 where no='$no'");
setcookie($cookie_name,"readed",time()+60*60*24*365);
}
mysql_close($connect);
?>
<html>
<tr>
<td colspan=2 align=center>
<? echo $song_path; ?>
<?
$ext_pos = strrpos($song_path2, ".");
if($ext_pos>0) { $aaa=substr($song_path2,$ext_pos+1); }
else { $aaa=""; }
switch ($aaa){
case(ra) :
?>
<?
break;
default :
?>
<head>
<title><?echo $subject;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link rel=StyleSheet HREF=style.css type=text/css>
<form name=form method=post action='play1.php'>
</form>
<script>
function AAA()
{
var ccc = document.form.aa.value;
...
}
window.onload = AAA;
function resize(size)
{
if(size == '100'){
//normal
document.MediaPlayer.DisplaySize = 0;
//if (IsView==0) self.resizeTo(387,426);
if (IsView==0) self.resizeTo(37+320,225+240);
else self.resizeTo(301+320,225+240);
}
else if(size == '200'){
//200
document.MediaPlayer.DisplaySize = 4;
//if (IsView == 0) self.resizeTo(467,486);
if (IsView == 0) self.resizeTo(37+320*2,225+240*2);
else self.resizeTo(301+320*2,225+240*2);
}
else if(size == 'full'){
//fullscreen
document.MediaPlayer.DisplaySize = 3;
}
}
</script>
</head>
<body oncontextmenu="return false" bgproperties="fixed" ondragstart ="return false" onselectstart="return false" leftmargin=0 marginwidth=0 topmargin=0 marginheight=0>
<table id="Table_01" width="340" height="416" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="9"><img src="images/movie_01.gif" width="9" height="43" alt=""></td>
<td width="318"><img src="images/movie_02.gif" width="318" height="43" alt=""></td>
</tr>
<tr>
<td width="9"><img src="images/movie_06.gif" width="9" height="46" alt=""></td>
<td colspan="4" rowspan="2">
<object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95
codebase=/share/install/mpie4ful.exe#Version=5,01,52,0701
width=320 height=300 id=MusicPlayer>
<param name="Filename" value="<? if($song_path2){ echo"$song_path2"; } ?>">
<param name="Filename" value="<? if($song_path2){ echo"$song_path2"; } ?>"> -- 오류메시지 라인
<param name="AutoStart" value="2">
<param name="AnimationAtStart" value="1">
<param name="DisplaySize" value="0">
<param name="EnableContextMenu" value="false">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="0">
<param name="Mute" value="0">
<param name="ShowCaptioning" value="0">
<param name="ShowControls" value="1">
<param name="ShowAudioControls" value="1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="-1">
<param name="ShowStatusBar" value="1">
<param name="ShowTracker" value="-1">
<param name="Volume" value="100">
<param name="SendMouseClickEvents" value="-1">
</object>
<?
}
?>
</td>
<td> <img src="images/movie_08.gif" width="10" height="46" alt=""></td>
</tr>
<tr>
<td width="9" height="243" bgcolor="E7E3E7"></td>
<td width="10" bgcolor="E7E3E7"></td>
</tr>
<tr>
<td width="9" bgcolor="E7E3E7"></td>
<td colspan="4"><table width="320" border="0" cellpadding="0" cellspacing="0" bgcolor="E7E3E7">
<tr bgcolor="E7E3E7">
<td height="13" colspan="7"></td>
</tr>
<tr>
<td width="10" height="20" bgcolor="E7E3E7"></td>
<td width="47"><img src="images/movie_28.gif" width=47 height=20 onClick="javascript:resize('100')" ALT=""></a></td>
<td width="6" bgcolor="E7E3E7"></td>
<td width="47"><img src="images/movie_30.gif" width=47 height=20 onClick="javascript:resize('200')" ALT=""></a></td>
<td width="6" bgcolor="E7E3E7"></td>
<td width="47"><img src="images/movie_32.gif" width=47 height=20 onClick="javascript:resize('full')" ALT=""></a></td>
<td width="155" bgcolor="E7E3E7"><img src="images/movie_33.gif" width=145 height=20 alt=""></td>
</tr>
<tr bgcolor="E7E3E7">
<td height="13" colspan="7"></td>
</tr>
</table></td>
<td bgcolor="E7E3E7"></td>
</tr>
<tr>
<td width="9" height="9"> <img src="images/movie_14.gif" width="9" height="9" alt=""></td>
<td colspan="4"> <img src="images/movie_15.gif" width="318" height="9" alt=""></td>
<td width="10" height="9"> <img src="images/movie_16.gif" width="10" height="9" alt=""></td>
</tr>
</table>
</body>
</html>
사실은 아무 것도 모르고 막 갖다붙여 보는 중입니다.
도와주시면 대단히 고맙겠습니다.
오류메시지 (개체가 필요합니다, 라인 : 98 (밑에 표시) 문자 : 1, 코드 : 0)
<?
require "dbconn.php";
$connect=mysql_connect($host_name,$user_name,$db_password);
mysql_select_db($db_name, $connect);
$temp=mysql_fetch_array(mysql_query("select subject, name, sitelink1, sitelink2, file_name1, file_name2, memo from zetyx_board_$id where no='$no'", $connect));
$subject=$temp[subject];
$singer=$temp[name];
$song_path2=$temp[sitelink1];
$memo=nl2br(stripslashes($temp[memo]));
// 현재글의 HIT수를 올림;;
$cookie_name="zetyx_readed_".$id."_".$no;
if(!$HTTP_COOKIE_VARS[$cookie_name])
{
mysql_query("update $t_board"."_$id set hit=hit+1 where no='$no'");
setcookie($cookie_name,"readed",time()+60*60*24*365);
}
mysql_close($connect);
?>
<html>
<tr>
<td colspan=2 align=center>
<? echo $song_path; ?>
<?
$ext_pos = strrpos($song_path2, ".");
if($ext_pos>0) { $aaa=substr($song_path2,$ext_pos+1); }
else { $aaa=""; }
switch ($aaa){
case(ra) :
?>
<?
break;
default :
?>
<head>
<title><?echo $subject;?></title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link rel=StyleSheet HREF=style.css type=text/css>
<form name=form method=post action='play1.php'>
</form>
<script>
function AAA()
{
var ccc = document.form.aa.value;
...
}
window.onload = AAA;
function resize(size)
{
if(size == '100'){
//normal
document.MediaPlayer.DisplaySize = 0;
//if (IsView==0) self.resizeTo(387,426);
if (IsView==0) self.resizeTo(37+320,225+240);
else self.resizeTo(301+320,225+240);
}
else if(size == '200'){
//200
document.MediaPlayer.DisplaySize = 4;
//if (IsView == 0) self.resizeTo(467,486);
if (IsView == 0) self.resizeTo(37+320*2,225+240*2);
else self.resizeTo(301+320*2,225+240*2);
}
else if(size == 'full'){
//fullscreen
document.MediaPlayer.DisplaySize = 3;
}
}
</script>
</head>
<body oncontextmenu="return false" bgproperties="fixed" ondragstart ="return false" onselectstart="return false" leftmargin=0 marginwidth=0 topmargin=0 marginheight=0>
<table id="Table_01" width="340" height="416" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="9"><img src="images/movie_01.gif" width="9" height="43" alt=""></td>
<td width="318"><img src="images/movie_02.gif" width="318" height="43" alt=""></td>
</tr>
<tr>
<td width="9"><img src="images/movie_06.gif" width="9" height="46" alt=""></td>
<td colspan="4" rowspan="2">
<object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95
codebase=/share/install/mpie4ful.exe#Version=5,01,52,0701
width=320 height=300 id=MusicPlayer>
<param name="Filename" value="<? if($song_path2){ echo"$song_path2"; } ?>">
<param name="Filename" value="<? if($song_path2){ echo"$song_path2"; } ?>"> -- 오류메시지 라인
<param name="AutoStart" value="2">
<param name="AnimationAtStart" value="1">
<param name="DisplaySize" value="0">
<param name="EnableContextMenu" value="false">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="0">
<param name="Mute" value="0">
<param name="ShowCaptioning" value="0">
<param name="ShowControls" value="1">
<param name="ShowAudioControls" value="1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="-1">
<param name="ShowStatusBar" value="1">
<param name="ShowTracker" value="-1">
<param name="Volume" value="100">
<param name="SendMouseClickEvents" value="-1">
</object>
<?
}
?>
</td>
<td> <img src="images/movie_08.gif" width="10" height="46" alt=""></td>
</tr>
<tr>
<td width="9" height="243" bgcolor="E7E3E7"></td>
<td width="10" bgcolor="E7E3E7"></td>
</tr>
<tr>
<td width="9" bgcolor="E7E3E7"></td>
<td colspan="4"><table width="320" border="0" cellpadding="0" cellspacing="0" bgcolor="E7E3E7">
<tr bgcolor="E7E3E7">
<td height="13" colspan="7"></td>
</tr>
<tr>
<td width="10" height="20" bgcolor="E7E3E7"></td>
<td width="47"><img src="images/movie_28.gif" width=47 height=20 onClick="javascript:resize('100')" ALT=""></a></td>
<td width="6" bgcolor="E7E3E7"></td>
<td width="47"><img src="images/movie_30.gif" width=47 height=20 onClick="javascript:resize('200')" ALT=""></a></td>
<td width="6" bgcolor="E7E3E7"></td>
<td width="47"><img src="images/movie_32.gif" width=47 height=20 onClick="javascript:resize('full')" ALT=""></a></td>
<td width="155" bgcolor="E7E3E7"><img src="images/movie_33.gif" width=145 height=20 alt=""></td>
</tr>
<tr bgcolor="E7E3E7">
<td height="13" colspan="7"></td>
</tr>
</table></td>
<td bgcolor="E7E3E7"></td>
</tr>
<tr>
<td width="9" height="9"> <img src="images/movie_14.gif" width="9" height="9" alt=""></td>
<td colspan="4"> <img src="images/movie_15.gif" width="318" height="9" alt=""></td>
<td width="10" height="9"> <img src="images/movie_16.gif" width="10" height="9" alt=""></td>
</tr>
</table>
</body>
</html>