uploadify 2版本的使用方法很多,这里主要是简单对比一下两者调用上的差异。
主要是还是通过代码说话。自己在本地及远程都测试成功。
先说一下uploadify 3 beta的使用:
Html代码如下:
然后再对比一下uploadify 2的使用:
You have a problem with your javascript
Start Upload
在选项的名称上以及调用的函数名上,相比2版,都有了很大的变动。不过官方的使用说明还没有出来,只有作者网站的一篇简单的说明:
For those of you who have been having issues with v2.x.x and want to update to v3.0 beta, here are some quick tips as to the changes made in the code…
First off, the folder option is no longer there. It’s more secure to do it in the PHP code so now it’s required to do so.
Secondly, the names of some of the events changed to be more descriptive. Here is a list of the event names:
onClearQueue, onDialogOpen, onDialogClose, onInit, onQueueComplete, onSelectError, onSelect, onSWFReady, onUploadCancel, onUploadComplete, onUploadError, onUploadProgress, onUploadStart
You’ll notice some of them just have “upload” appended to them.
Everything else is pretty much the same, except for the default button. It’s no longer created in flash, but as a CSS3 button behind the invisible flash element. This makes it easier to style to your liking.
Hope this helps those of you who are trying to use v3.0b until I can write out all the documentation.
刚买了佳能7D,还不会用,看着人家拍出的美女,羡慕啊www.51lifes.com
http://www.51lifes.com 里有很不错的东东哟
First off, the folder option is no longer there. It's more secure to do it in the PHP code so now it's required to do so.做过asp版的,确实folder option没多大用处~
刚买了佳能7D,还不会用,看着人家拍出的美女,羡慕啊
http://www.sdydslr.com
we are sorry. the service is temporarily unavailable.
不睹不识,不做没有会。