aboutsummaryrefslogtreecommitdiff
path: root/vendors/uploadify/example/index.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2010-10-24 21:08:27 +0000
committerCash Costello <cash.costello@gmail.com>2010-10-24 21:08:27 +0000
commitda1493b95a2f0b5000a487ae373c9318c58d0b2d (patch)
treea339b053ade9fb15a1717bdf248a59afc9b3d239 /vendors/uploadify/example/index.php
parent5161b1c8fdc8ff69005f864a89127fc18db6d4ed (diff)
downloadelgg-da1493b95a2f0b5000a487ae373c9318c58d0b2d.tar.gz
elgg-da1493b95a2f0b5000a487ae373c9318c58d0b2d.tar.bz2
partial implementation of flash uploader
Diffstat (limited to 'vendors/uploadify/example/index.php')
-rw-r--r--vendors/uploadify/example/index.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/vendors/uploadify/example/index.php b/vendors/uploadify/example/index.php
new file mode 100644
index 000000000..769d11c61
--- /dev/null
+++ b/vendors/uploadify/example/index.php
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>Uploadify Example Script</title>
+<link href="/example/css/default.css" rel="stylesheet" type="text/css" />
+<link href="/example/css/uploadify.css" rel="stylesheet" type="text/css" />
+<script type="text/javascript" src="/example/scripts/jquery-1.3.2.min.js"></script>
+<script type="text/javascript" src="/example/scripts/swfobject.js"></script>
+<script type="text/javascript" src="/example/scripts/jquery.uploadify.v2.1.0.min.js"></script>
+<script type="text/javascript">
+$(document).ready(function() {
+ $("#uploadify").uploadify({
+ 'uploader' : 'scripts/uploadify.swf',
+ 'script' : 'scripts/uploadify.php',
+ 'cancelImg' : 'cancel.png',
+ 'folder' : 'uploads',
+ 'queueID' : 'fileQueue',
+ 'auto' : true,
+ 'multi' : true
+ });
+});
+</script>
+</head>
+
+<body>
+<div id="fileQueue"></div>
+<input type="file" name="uploadify" id="uploadify" />
+<p><a href="javascript:jQuery('#uploadify').uploadifyClearQueue()">Cancel All Uploads</a></p>
+</body>
+</html>