📄 media.htm
字号:
<html>
<head>
<title>媒体文件属性</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../Include/ManageStyle.css" type="text/css">
<script language="JavaScript" src="dialog.js"></script>
<script language="JavaScript">
// 本窗口返回值
function ReturnValue(){
var sFromUrl = d_fromurl.value;
var sWidth = d_width.value;
var sHeight = d_height.value;
var sHTML = '<EMBED src="' + sFromUrl + '" width="' + sWidth + '" height="' + sHeight + '" type="audio/x-pn-realaudio-plugin" autostart="true" controls="IMAGEWINDOW,ControlPanel,StatusBar" console="Clip1"></EMBED>';
dialogArguments.insertHTML(sHTML);
window.returnValue = null;
window.close();
}
// 点确定时执行
function ok(){
// 数字型输入的有效性
d_width.value=ToInt(d_width.value);
d_height.value=ToInt(d_height.value);
ReturnValue();
}
</script>
</head>
<body bgcolor="menu">
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><fieldset>
<legend>媒体文件来源</legend>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="9" height="5"></td>
</tr>
<tr>
<td width="7"></td>
<td colspan="5"><input type="text" id="d_fromurl" style="width:238px" size="30" value="http://">
</td>
<td width="7"></td>
</tr>
<tr>
<td colspan="9" height="5"></td>
</tr>
</table>
</fieldset> </td>
</tr>
<tr>
<td height="5"></td>
</tr>
<tr>
<td><fieldset>
<legend>播放效果</legend>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="9" height="5"></td>
</tr>
<tr>
<td width="7"></td>
<td nowrap>播放宽度:</td>
<td width="5"></td>
<td>
<input type="text" id="d_width" size="10" value="200" onkeypress="event.returnValue=IsDigit();" maxlength="4"></td>
<td width="30"></td>
<td nowrap>播放高度:</td>
<td width="5"></td>
<td>
<input type="text" id="d_height" size="10" value="200" onkeypress="event.returnValue=IsDigit();" maxlength="4"></td>
<td width="7"></td>
</tr>
<tr>
<td colspan="9" height="5"></td>
</tr>
</table>
</fieldset> </td>
</tr>
<tr>
<td height="5"></td>
</tr>
<tr>
<td align="right">
<input type="submit" class="button01-out" value="确 定" id="Ok" onclick="ok()">
<input type="button" class="button01-out" value="取 消" onclick="window.close();"></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -