Permalink
Browse files

Update examples.

  • Loading branch information...
1 parent 62aadd2 commit a705acb22881fc626ebb6e0b23b18fe104542274 @jayarjo jayarjo committed Feb 16, 2013
View
@@ -5,44 +5,17 @@
<title>Plupload - Custom example</title>
-<style type="text/css">
- body {
- font-family:Verdana, Geneva, sans-serif;
- font-size:13px;
- color:#333;
- background:url(bg.jpg);
- }
-</style>
-
<!-- production -->
<script type="text/javascript" src="../js/plupload.full.min.js"></script>
<!-- -->
<!-- debug
-<script type="text/javascript" src="../src/moxie/src/javascript/core/mOxie.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/core/Utils.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/core/Exceptions.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/core/I18N.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/core/EventTarget.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/core/Runtime.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/core/Transporter.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/core/FileAPI.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/core/Image.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/extra/ImageInfo.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/core/XMLHttpRequest.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/html5.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/html4.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/flash.js"></script>
-<script type="text/javascript" src="../src/moxie/src/javascript/silverlight.js"></script>
-
+<script type="text/javascript" src="../js/moxie.js"></script>
<script type="text/javascript" src="../src/plupload.js"></script>
-->
-
-<!-- <script type="text/javascript" src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"></script> -->
-
</head>
-<body>
+<body style="font:13px Verdana;background:url(bg.jpg);color:#333">
<h1>Custom example</h1>
@@ -5,24 +5,15 @@
<title>Plupload - Queue widget example</title>
-<style type="text/css">
- body {
- font-family:Verdana, Geneva, sans-serif;
- font-size:13px;
- color:#333;
- background:url(../bg.jpg);
- }
-</style>
<link rel="stylesheet" href="../../js/jquery.plupload.queue/css/jquery.plupload.queue.css" type="text/css" media="screen" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="../../js/plupload.full.min.js"></script>
<script type="text/javascript" src="../../js/jquery.plupload.queue/jquery.plupload.queue.js"></script>
-<!-- <script type="text/javascript" src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"></script> -->
</head>
-<body>
+<body style="font:13px Verdana;background:url(../bg.jpg);color:#333">
<form method="post" action="dump.php">
<h1>Queue widget example</h1>
@@ -5,48 +5,24 @@
<title>Plupload - jQuery UI Widget</title>
-<style type="text/css">
- body {
- font-family:Verdana, Geneva, sans-serif;
- font-size:13px;
- color:#333;
- background:url(../bg.jpg);
- }
-</style>
-
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css" type="text/css" />
<link rel="stylesheet" href="../../js/jquery.ui.plupload/css/jquery.ui.plupload.css" type="text/css" />
-<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
+<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script>
<!-- production -->
<script type="text/javascript" src="../../js/plupload.full.min.js"></script>
-<script type="text/javascript" src="../../js/jquery.ui.plupload/jquery.ui.plupload.js"></script>
+<script type="text/javascript" src="../../src/jquery.ui.plupload/jquery.ui.plupload.js"></script>
<!-- debug
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/mOxie.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/Utils.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/Exceptions.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/I18N.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/EventTarget.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/Runtime.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/Transporter.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/FileAPI.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/Image.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/extra/ImageInfo.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/XMLHttpRequest.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/html5.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/html4.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/flash.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/silverlight.js"></script>
-
+<script type="text/javascript" src="../../js/moxie.js"></script>
<script type="text/javascript" src="../../src/plupload.js"></script>
<script type="text/javascript" src="../../src/jquery.ui.plupload/jquery.ui.plupload.js"></script>
-->
</head>
-<body>
+<body style="font:13px Verdana;background:url(../bg.jpg);color:#333">
<h1>jQuery UI Widget</h1>
@@ -68,7 +44,7 @@ <h1>jQuery UI Widget</h1>
max_file_size : '1000mb',
max_file_count: 20, // user can add no more then 20 files at a time
chunk_size : '1mb',
- unique_names : true,
+ rename : true,
multiple_queues : true,
// Resize images on clientside if we can
@@ -105,8 +81,7 @@ <h1>jQuery UI Widget</h1>
list: true,
thumbs: true // Show thumbs
},
- default_view: 'thumbs',
- remember_view: true // requires jquery cookie plugin
+ default_view: 'thumbs'
});
// Client side form validation
@@ -5,47 +5,23 @@
<title>Plupload - Queue widget example</title>
-<style type="text/css">
- body {
- font-family:Verdana, Geneva, sans-serif;
- font-size:13px;
- color:#333;
- background:url(../bg.jpg);
- }
-</style>
<link rel="stylesheet" href="../../js/jquery.plupload.queue/css/jquery.plupload.queue.css" type="text/css" media="screen" />
-<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
+<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<!-- production -->
<script type="text/javascript" src="../../js/plupload.full.min.js"></script>
-<script type="text/javascript" src="../../js/jquery.plupload.queue/jquery.plupload.queue.js"></script>
+<script type="text/javascript" src="../../src/jquery.plupload.queue/jquery.plupload.queue.js"></script>
<!-- debug
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/mOxie.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/Utils.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/Exceptions.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/I18N.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/EventTarget.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/Runtime.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/Transporter.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/FileAPI.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/Image.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/extra/ImageInfo.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/core/XMLHttpRequest.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/html5.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/html4.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/flash.js"></script>
-<script type="text/javascript" src="../../src/moxie/src/javascript/silverlight.js"></script>
-
+<script type="text/javascript" src="../../js/moxie.js"></script>
<script type="text/javascript" src="../../src/plupload.js"></script>
-<script type="text/javascript" src="../../src/jquery.plupload.queue/jquery.plupload.queue.js"></script>
+<script type="text/javascript" src="../../src/jquery.ui.plupload/jquery.ui.plupload.js"></script>
-->
-
</head>
-<body>
+<body style="font:13px Verdana;background:url(../bg.jpg);color:#333">
<form method="post" action="dump.php">
<div id="uploader">
@@ -64,7 +40,7 @@
url : '../upload.php',
max_file_size : '10mb',
chunk_size : '1mb',
- unique_names : true,
+ rename : true,
dragdrop: true,
filters : [
{title : "Image files", extensions : "jpg,gif,png"},
View
@@ -76,15 +76,6 @@ function hash_hmac($algo, $data, $key, $raw_output = false)
<title>Plupload to Amazon S3 Example</title>
-<style type="text/css">
- body {
- font-family:Verdana, Geneva, sans-serif;
- font-size:13px;
- color:#333;
- background:url(../bg.jpg);
- }
-</style>
-
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src=" https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script>
@@ -94,10 +85,9 @@ function hash_hmac($algo, $data, $key, $raw_output = false)
<script type="text/javascript" src="../../js/plupload.full.min.js"></script>
<script type="text/javascript" src="../../js/jquery.ui.plupload/jquery.ui.plupload.js"></script>
-<!--<script type="text/javascript" src="http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js"></script>-->
</head>
-<body>
+<body style="font:13px Verdana;background:url(../bg.jpg);color:#333">
<h1>Plupload to Amazon S3 Example</h1>
@@ -141,10 +131,10 @@ function hash_hmac($algo, $data, $key, $raw_output = false)
],
// Flash settings
- flash_swf_url : '../../js/plupload.flash.swf',
+ flash_swf_url : '../../js/Moxie.swf',
// Silverlight settings
- silverlight_xap_url : '../../js/plupload.silverlight.xap'
+ silverlight_xap_url : '../../js/Moxie.xap'
});
});
</script>
Oops, something went wrong.

0 comments on commit a705acb

Please sign in to comment.