BVB Source Codes

SXW Flash site v1.2 Show upfile.js Source code

Return Download SXW Flash site v1.2: download upfile.js Source code - Download SXW Flash site v1.2 Source code - Type:.js
  1.  
  2.  function upload_big(big_obj,small_obj,path,f)
  3.   {
  4.    if(f==1){
  5.    big_obj.focus();
  6.    }else{
  7.    small_obj.focus();
  8.    }
  9.   var arr = showModalDialog("upfile.asp?f="+f+"&path="+path, "", "dialogWidth:245px; dialogHeight:80px; status:0;help:0");
  10.   if (arr != null){
  11.   var ss;
  12.   ss=arr.split("*")
  13.   if(f==1){
  14.   big_obj.value=ss[0];
  15.   small_obj.value=ss[1];
  16.   }else{
  17.   small_obj.value=ss[0];
  18.   }
  19.  }
  20. }
  21.  
  22.  //控制上传文件域js
  23.         var i=0;//全局计数变量
  24.         function Set1()
  25.         {var iCount,str;
  26.         iCount=window.form2.upcount.value
  27.         str='<td></td>';
  28.         if((!iCount)||(iCount==0))
  29.                 {iCount=1;
  30.                 window.form2.upcount.value=1;
  31.                 }
  32.         if (iCount>100)
  33.                 {
  34.                 window.form2.upcount.value=i-1;
  35.                 alert("每次最大允许上传100个文件");
  36.                 }
  37.         else
  38.                 {window.form2.upcount1.value=0
  39.                 for(i=1;i<=iCount;i++)
  40.                         {
  41.                         str+='<div align="left">图片'+i+':<input type="text" name="pic'+i+'" style="width:280"> <iframe frameborder=0 width=290 height=25 scrolling=no src="upload.asp?action=pic&ztpic=pic'+i+'"></iframe></div>';
  42.                         }
  43.                         window.upid.innerHTML=str+'<td></td>';
  44.                 }
  45.                 return false;
  46.         }
  47.  
  48.    function Set2()
  49.    {var iCount,iV;
  50.         iV=parseInt(window.form2.upcount1.value)
  51.         iCount=parseInt(window.form2.upcount.value)
  52.         if(iCount!=i-1)
  53.                 {iCount=i-1;}          
  54.         if (i>100)
  55.                 {
  56.                 window.form2.upcount.value=100;
  57.                 alert("每次最大允许上传100个文件");
  58.                 }
  59.         else
  60.                 {
  61.                         if(i==1){i=2}
  62.                         if(iV==1){iCount=1;window.form2.upcount1.value=0;}
  63.                         {
  64.                         window.form2.upcount.value=iCount+1;
  65.                         window.upid.insertAdjacentHTML('BeforeEnd','<div align="left">图片'+i+':<input type="text" name="pic'+i+'" style="width:280"> <iframe frameborder=0 width=290 height=25 scrolling=no src="upload.asp?action=pic&ztpic=pic'+i+'"></iframe><br></div>');
  66.                         }
  67.                 }
  68.         i++;
  69.         return false;
  70.         }
  71.        
  72.         function Set3()
  73.                 {var iCount,str;
  74.                         iCount=window.form2.upcount.value      
  75.                         str='<td></td>';
  76.                         str+='<div align="left">&nbsp;不添加组图请不要设定.<br></div>';
  77.                         window.upid.innerHTML=str+'<td></td>';
  78.                         i=2;
  79.                         window.form2.upcount.value=1;
  80.                 }
downloadupfile.js Source code - Download SXW Flash site v1.2 Source code
Related Source Codes/Software:
Flash - v3 universal back-end systems v1.2 - System contains a complete news picture. videos an... 2016-09-30
Party card online help system v1.0 - Party card online help system is copy code station... 2016-09-30
ASP online mass character to replace tool - The birth of this tool will become the bane of ASP... 2016-09-30
Simple Easy CRM customer management system v1.0 - Easy simple CRM customer relationship management (... 2016-09-30
Speed Pioneer Board (.spb) Speed Pioneer Chinese BBS v4.5 Acce - Software introduction &Nbsp;   developed... 2016-09-30
GuardianGenius Beta1 - The software is introduced 2016-10-01
Share music v0.1 - Listening to music when suddenly the ST produced a... 2016-10-01
All sincere mall multi-user version v5.1 SQL generated HTML - Use the "shop in shop" systems Second Edition upgr... 2016-10-01
SMS positioning Android project source code for application - This project is a based on android mobile phone re... 2016-10-01
The Android project source coarse imitation hungry? Take-out APP source code - This project is a similar hungry? Take-out APP dem... 2016-10-01
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