BVB Source Codes

Jie Yang v0.6.3 article system Show media.htm Source code

Return Download Jie Yang v0.6.3 article system: download media.htm Source code - Download Jie Yang v0.6.3 article system Source code - Type:.htm
  1. <HTML>
  2. <HEAD>
  3. <TITLE>媒体文件属性</TITLE>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  5. <style type="text/css">
  6. body, a, table, div, span, td, th, input, select{font:9pt;font-family: "宋体", Verdana, Arial, Helvetica, sans-serif;}
  7. body {padding:5px}
  8. </style>
  9.  
  10. <script language="JavaScript" src="dialog.js"></script><script language="JavaScript">
  11.  
  12. // 文件来源单选点击事件
  13. function RadioClick(what){
  14.         if (what=="url"){
  15.                 d_checkfromfile.checked=false;
  16.                 d_fromurl.disabled=false;
  17.                 d_checkfromurl.checked=true;
  18.                 d_file.myform.uploadfile.disabled=true;
  19.         }else{
  20.                 d_checkfromurl.checked=false;
  21.                 d_file.myform.uploadfile.disabled=false;
  22.                 d_checkfromfile.checked=true;
  23.                 d_fromurl.disabled=true;
  24.         }
  25. }
  26.  
  27. // 上传帧调入完成时执行
  28. function UploadLoaded(){
  29.         // 初始radio
  30.         RadioClick('file');
  31. }
  32.  
  33. // 上传错误
  34. function UploadError(sErrDesc){
  35.         AbleItems();
  36.         RadioClick('file');
  37.         divProcessing.style.display="none";
  38.         try {
  39.                 BaseAlert(d_file.myform.uploadfile,sErrDesc);
  40.         }
  41.         catch(e){}
  42. }
  43.  
  44. // 文件上传完成时执行,带入上传文件名
  45. function UploadSaved(sPathFileName){
  46.         d_fromurl.value = sPathFileName;
  47.         ReturnValue();
  48. }
  49.  
  50. // 本窗口返回值
  51. function ReturnValue(){
  52.         var sFromUrl = d_fromurl.value;
  53.         var sWidth = d_width.value;
  54.         var sHeight = d_height.value;
  55.  
  56.         var sHTML = '<EMBED src="' + sFromUrl + '" width="' + sWidth + '" height="' + sHeight + '" type="audio/x-pn-realaudio-plugin" autostart="true" controls="IMAGEWINDOW,ControlPanel,StatusBar" console="Clip1"></EMBED>';
  57.         dialogArguments.insertHTML(sHTML);
  58.  
  59.         window.returnValue = null;
  60.         window.close();
  61. }
  62.  
  63. // 点确定时执行
  64. function ok(){
  65.         // 数字型输入的有效性
  66.         d_width.value=ToInt(d_width.value);
  67.         d_height.value=ToInt(d_height.value);
  68.  
  69.         if (d_checkfromurl.checked){
  70.                 // 返回值
  71.                 ReturnValue();
  72.         }else{
  73.                 // 上传文件判断
  74.                 if (!d_file.CheckUploadForm()) return false;
  75.                 // 使各输入框无效
  76.                 DisableItems();
  77.                 // 显示正在上传文件
  78.                 divProcessing.style.display="";
  79.                 // 上传表单提交
  80.                 d_file.myform.submit();
  81.         }
  82. }
  83.  
  84. // 使所有输入框无效
  85. function DisableItems(){
  86.         d_checkfromfile.disabled=true;
  87.         d_checkfromurl.disabled=true;
  88.         d_fromurl.disabled=true;
  89.         d_width.disabled=true;
  90.         d_height.disabled=true;
  91.         Ok.disabled=true;
  92. }
  93.  
  94. // 使所有输入框有效
  95. function AbleItems(){
  96.         d_checkfromfile.disabled=false;
  97.         d_checkfromurl.disabled=false;
  98.         d_fromurl.disabled=false;
  99.         d_width.disabled=false;
  100.         d_height.disabled=false;
  101.         Ok.disabled=false;
  102. }
  103.  
  104. </script></HEAD>
  105.  
  106. <BODY bgColor=menu>
  107.  
  108. <table border=0 cellpadding=0 cellspacing=0 align=center>
  109. <tr>
  110.         <td>
  111.         <fieldset>
  112.         <legend>媒体文件来源</legend>
  113.         <table border=0 cellpadding=0 cellspacing=0>
  114.         <tr><td colspan=9 height=5></td></tr>
  115.         <tr>
  116.                 <td width=7></td>
  117.                 <td width=54 align=right onclick="RadioClick('file')"><input type=radio id="d_checkfromfile" value="1" onclick="RadioClick('file')">上传:</td>
  118.                 <td width=5></td>
  119.                 <td colspan=5>
  120.                 <Script Language=JavaScript>
  121.                 document.write('<iframe id=d_file frameborder=0 src="../upload.asp?type=media&style=' + config.StyleName + '" width="100%" height="22" scrolling=no></iframe>');
  122.                 </script></td>
  123.                 <td width=7></td>
  124.         </tr>
  125.         <tr><td colspan=9 height=5></td></tr>
  126.         <tr>
  127.                 <td width=7></td>
  128.                 <td width=54 align=right onclick="RadioClick('url')"><input type=radio id="d_checkfromurl" value="1" onclick="RadioClick('url')">网络:</td>
  129.                 <td width=5></td>
  130.                 <td colspan=5><input type=text id="d_fromurl" style="width:243px" size=30 value="http://"></td>
  131.                 <td width=7></td>
  132.         </tr>
  133.         <tr><td colspan=9 height=5></td></tr>
  134.         </table>
  135.         </fieldset>
  136.         </td>
  137. </tr>
  138. <tr><td height=5></td></tr>
  139. <tr>
  140.         <td>
  141.         <fieldset>
  142.         <legend>播放效果</legend>
  143.         <table border=0 cellpadding=0 cellspacing=0>
  144.         <tr><td colspan=9 height=5></td></tr>
  145.         <tr>
  146.                 <td width=7></td>
  147.                 <td noWrap>播放宽度:</td>
  148.                 <td width=5></td>
  149.                 <td><input type=text id=d_width size=10 value="200" ONKEYPRESS="event.returnValue=IsDigit();" maxlength=4></td>
  150.                 <td width=40></td>
  151.                 <td noWrap>播放高度:</td>
  152.                 <td width=5></td>
  153.                 <td><input type=text id=d_height size=10 value="200" ONKEYPRESS="event.returnValue=IsDigit();" maxlength=4></td>
  154.                 <td width=7></td>
  155.         </tr>
  156.         <tr><td colspan=9 height=5></td></tr>
  157.         </table>
  158.         </fieldset>
  159.         </td>
  160. </tr>
  161. <tr><td height=5></td></tr>
  162. <tr><td align=right><input type=submit value='  确定  ' id=Ok onclick="ok()">&nbsp;&nbsp;<input type=button value='  取消  ' onclick="window.close();"></td></tr>
  163. </table>
  164.  
  165. <div id=divProcessing style="width:200px;height:30px;position:absolute;left:70px;top:50px;display:none">
  166. <table border=0 cellpadding=0 cellspacing=1 bgcolor="#000000" width="100%" height="100%"><tr><td bgcolor=#3A6EA5><marquee align="middle" behavior="alternate" scrollamount="5"><font color=#FFFFFF>...文件上传中...请等待...</font></marquee></td></tr></table>
  167. </div>
  168.  
  169. </body>
  170.  
  171.  
  172.  
downloadmedia.htm Source code - Download Jie Yang v0.6.3 article system Source code
Related Source Codes/Software:
Jilin classification information release system v5.0 trial version - A ready-made classifieds site publishing system, h... 2016-09-21
Linyi CMS v6.5 market classification information - A. supply and demand information function: informa... 2016-09-21
Tesco discount net SQL version - And presentations, faster. 2016-09-21
- electronic enterprise website management system In a fully functional version - Super suitable for enterprise agents build a corpo... 2016-09-21
Rio mesh network hard disk system v3.0 - System functions: 1, increase the progress of Asp... 2016-09-21
Classified information network business in suzhou - Overall module: classification of supply and deman... 2016-09-21
NPOINT virtual host v1.7.0 formal version management system - The system main function is introduced 2016-09-21
IDC sales web site - Beautiful IDC sales web site source code 2016-09-21
Oo 126 CMS movie site system - This procedure ASP + ACC/ASP + SQL, using new kern... 2016-09-21
Pcook CMS bubble guest v3.0 SDCMS version - Developed by Asp+Access, and meet the needs of sma... 2016-09-21
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top