|
|
|
|
<HTML>
|
|
|
|
|
<HEAD>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
|
|
|
|
|
<script language=javascript src="dialog.js"></script>
|
|
|
|
|
<link href='dialog.css' type='text/css' rel='stylesheet'>
|
|
|
|
|
<TITLE>Flash<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></TITLE>
|
|
|
|
|
|
|
|
|
|
<script language="javascript">
|
|
|
|
|
|
|
|
|
|
function ReturnValue(){
|
|
|
|
|
var sFromUrl = d_fromurl.value;
|
|
|
|
|
var sWidth = d_width.value;
|
|
|
|
|
var sHeight = d_height.value;
|
|
|
|
|
|
|
|
|
|
var sHTML = "<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000";
|
|
|
|
|
if (sWidth!="") sHTML+=" width="+sWidth;
|
|
|
|
|
if (sHeight!="") sHTML+=" height="+sHeight;
|
|
|
|
|
sHTML+="><PARAM NAME=movie VALUE='"+sFromUrl+"'><PARAM NAME=quality VALUE=high><embed src='"+sFromUrl+"' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash'";
|
|
|
|
|
if (sWidth!="") sHTML+=" width="+sWidth;
|
|
|
|
|
if (sHeight!="") sHTML+=" height="+sHeight;
|
|
|
|
|
sHTML+=">"+sFromUrl+"</embed></OBJECT>";
|
|
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function InitDocument(){
|
|
|
|
|
adjustDialog();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
</HEAD>
|
|
|
|
|
|
|
|
|
|
<BODY onload="InitDocument()">
|
|
|
|
|
<table border=0 cellpadding=0 cellspacing=5 id=tabDialogSize><tr><td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table border=0 cellpadding=0 cellspacing=0 align=center>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<fieldset>
|
|
|
|
|
<legend>Flash<EFBFBD><EFBFBD>Դ</legend>
|
|
|
|
|
<table border=0 cellpadding=5 cellspacing=0 width="100%">
|
|
|
|
|
<tr><td>
|
|
|
|
|
|
|
|
|
|
<table border=0 cellpadding=0 cellspacing=2 width="100%">
|
|
|
|
|
<tr>
|
|
|
|
|
<td noWrap width="20%"><input type=radio id="d_checkfromurl" value="1" checked><label for=d_checkfromurl><EFBFBD><EFBFBD><EFBFBD><EFBFBD></label>:</td>
|
|
|
|
|
<td noWrap width="80%"><input type=text id='d_fromurl' style='width:100%' size=10 value='http://'></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr><td height=5></td></tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<fieldset>
|
|
|
|
|
<legend><EFBFBD><EFBFBD>ʾЧ<EFBFBD><EFBFBD></legend>
|
|
|
|
|
<table border=0 cellpadding=5 cellspacing=0 width="100%">
|
|
|
|
|
<tr><td>
|
|
|
|
|
|
|
|
|
|
<table border=0 cellpadding=0 cellspacing=2 width="100%">
|
|
|
|
|
<tr>
|
|
|
|
|
<td noWrap width="20%"><EFBFBD><EFBFBD>ʾ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>:</td>
|
|
|
|
|
<td noWrap width="29%"><input style="width:80px" type=text id=d_width size=10 value="" ONKEYPRESS="event.returnValue=IsDigit();" maxlength=4></td>
|
|
|
|
|
<td width="2%"> </td>
|
|
|
|
|
<td noWrap width="20%"><EFBFBD><EFBFBD>ʾ<EFBFBD>߶<EFBFBD>:</td>
|
|
|
|
|
<td noWrap width="29%"><input style="width:80px" type=text id=d_height size=10 value="" ONKEYPRESS="event.returnValue=IsDigit();" maxlength=4></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
</td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr><td height=5></td></tr>
|
|
|
|
|
<tr><td noWrap align=right><input type=submit value='ȷ<EFBFBD><EFBFBD>' id=Ok onclick="ok()"> <input type=button value='ȡ<EFBFBD><EFBFBD>' onclick="window.close();"></td></tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td></tr></table>
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|