github.com/jincm/wesharechain@v0.0.0-20210122032815-1537409ce26a/app/lib/plupload-2.1.2/examples/jquery/queue_widget.html (about)

     1  <!DOCTYPE html>
     2  <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
     3  <head>
     4  <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
     5  
     6  <title>Plupload - Queue widget example</title>
     7  
     8  <link rel="stylesheet" href="../../js/jquery.plupload.queue/css/jquery.plupload.queue.css" type="text/css" media="screen" />
     9  
    10  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
    11  
    12  <!-- production -->
    13  <script type="text/javascript" src="../../js/plupload.full.min.js"></script>
    14  <script type="text/javascript" src="../../js/jquery.plupload.queue/jquery.plupload.queue.js"></script>
    15  
    16  <!-- debug 
    17  <script type="text/javascript" src="../../js/moxie.js"></script>
    18  <script type="text/javascript" src="../../js/plupload.dev.js"></script>
    19  <script type="text/javascript" src="../../js/jquery.plupload.queue/jquery.plupload.queue.js"></script>
    20  -->
    21  
    22  
    23  </head>
    24  <body style="font: 13px Verdana; background: #eee; color: #333">
    25  
    26  <form method="post" action="dump.php">	
    27  	<div id="uploader">
    28  		<p>Your browser doesn't have Flash, Silverlight or HTML5 support.</p>
    29  	</div>
    30  	<input type="submit" value="Send" />
    31  </form>
    32  
    33  <script type="text/javascript">
    34  $(function() {
    35  	
    36  	// Setup html5 version
    37  	$("#uploader").pluploadQueue({
    38  		// General settings
    39  		runtimes : 'html5,flash,silverlight,html4',
    40  		url : '../upload.php',
    41  		chunk_size: '1mb',
    42  		rename : true,
    43  		dragdrop: true,
    44  		
    45  		filters : {
    46  			// Maximum file size
    47  			max_file_size : '10mb',
    48  			// Specify what files to browse for
    49  			mime_types: [
    50  				{title : "Image files", extensions : "jpg,gif,png"},
    51  				{title : "Zip files", extensions : "zip"}
    52  			]
    53  		},
    54  
    55  		// Resize images on clientside if we can
    56  		resize : {width : 320, height : 240, quality : 90},
    57  
    58  		flash_swf_url : '../../js/Moxie.swf',
    59  		silverlight_xap_url : '../../js/Moxie.xap'
    60  	});
    61  
    62  });
    63  </script>
    64  
    65  </body>
    66  </html>