uploadify 上传控件在firefox下不显示原因

主要原因是你的firefox浏览器没有安装flash控件

2011-08-04-15-35

其中关键例程代码:

<link href="uploadify/uploadify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" language="JavaScript" src="js/dialog.js"> </script>
<script src="js/system-set.js" type="text/javascript" language="javascript"></script>
<script type="text/javascript" src="uploadify/jquery-1.5.2.min.js"></script>
<script type="text/javascript" src="uploadify/swfobject.js"></script>
<script type="text/javascript" src="uploadify/jquery.uploadify.v2.1.4.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
  $('#file_upload').uploadify({
    'uploader'  : 'uploadify/uploadify.swf',
    'script'    : 'uploadify/uploadify.php',
    'cancelImg' : 'uploadify/cancel.png',
    'folder'    : 'uploads',
    'fileExt'   : 'head.jpg',
    'fileDesc'  : 'Image Files (.jpg, .gif, .png)',
    'auto'      : true
  });
});
</script>

<input id="file_upload" name="file_upload" type="file" />

效果图:

2011-08-04-15-36

 转载自:http://www.cnblogs.com/xmphoenix/archive/2011/08/04/2127453.html

posted @ 2015-04-08 16:56  小小城城  阅读(240)  评论(0编辑  收藏  举报