官方的网站: http://www.uploadify.com/download/
最简单的代码:
>
1:
>
1: </script>
>
1: </script>
>
function() {
'#file_upload').uploadify({
'/uploadify/uploadify.swf',
'/uploadify/uploadify.php',
'/uploadify/cancel.png',
'/uploads',
'*.jpg;*.gif;*.png',
'Image Files (.JPG, .GIF, .PNG)',
true
12: });
13: });
14:
</script>
<title>无标题文档</title>
</head>
<body>
<input id="file_upload" name="file_upload" type="file" />
</body>
</html>
其中关键的是:
1、先下载好在保护的js文件,放到开发板的对应位置
2、就是相关的文件要放到相应的目录中