<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>upload file sample</title>
<link rel="stylesheet" href="/test/uploadify/uploadify.css" type="text/css" />
<script type="text/javascript" src="/test/uploadify/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/test/uploadify/swfobject.js"></script>
<script type="text/javascript" src="/test/uploadify/jquery.uploadify.v2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$("#fileUpload").uploadify({
'uploader': '/test/uploadify/uploadify.swf',
'cancelImg': '/test/uploadify/cancel.png',
'script': '/test/picture/savePicture',
'folder': 'files',
'multi': true,
'buttonText': 'add',
'displayData': 'speed',
'simUploadLimit': 2
});
});
</script>
</head>
<body>
<hr width=100% size="1" color="" align="center">
<h2>Multiple File Upload</h2>
<p>checkScript, buttonText, simulataneous upload limit</p>
<div id="fileUpload">You have a problem with your javascript</div>
<a href="javascript:$('#fileUpload').uploadifyUpload()">Start Upload</a> | <a href="javascript:$('#fileUpload').uploadifyClearQueue()">Clear Queue</a>
<p></p>
</body>
</html>
|