mirror of
https://github.com/friendica/friendica
synced 2025-04-26 20:30:11 +00:00
work in progress js_uploader plugin, turn java uploader into plugin - not done yet
This commit is contained in:
parent
abbd498a8b
commit
2fc89deaea
68 changed files with 6768 additions and 0 deletions
24
addon/js_upload/file-uploader/tests/separate-file-list.htm
Normal file
24
addon/js_upload/file-uploader/tests/separate-file-list.htm
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<link href="../client/fileuploader.css" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="demo"></div>
|
||||
<ul id="separate-list"></ul>
|
||||
|
||||
<script src="../client/fileuploader.js" type="text/javascript"></script>
|
||||
<script>
|
||||
function createUploader(){
|
||||
var uploader = new qq.FileUploader({
|
||||
element: document.getElementById('demo'),
|
||||
listElement: document.getElementById('separate-list'),
|
||||
action: '../client/do-nothing.htm'
|
||||
});
|
||||
}
|
||||
window.onload = createUploader;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue