0
我想我自己的风格应用于uploadify按钮,这里建议: Uploadify button: Style with CSS?Uploadify按钮文本
的.js:
<div class="uploadWrapper"><input type="file" name="file_upload" id="file_upload" /></div>
$("#file_upload").uploadify({
'uploader': '/Scripts/uploadify/uploadify.swf',
'script': '/File/Upload',
'cancelImg': '/Scripts/uploadify/cancel.png',
'fileExt': '*.jpg;*.gif;*.png;*.bmp;*.htm;*.html;*.txt;*.zip',
'fileDesc': '*.jpg;*.gif;*.png;*.bmp;*.htm;*.html;*.txt;*.zip',
'auto': true,
'multi': true,
'sizeLimit': 1048576,
'buttonText': 'Upload Files',
'hideButton': true,
'wmode': 'transparent',
//more code here....
的.css:
.uploadWrapper object {background-color: #0099FF;}
该作品好吧,我看到一个蓝色的按钮,我可以点击打开文件对话框。但是,该按钮上的文本是不可见/未设置的。我如何设置按钮文字?
你试图改变按钮,一个“A”的标签,而不是在例如“输入”什么样的? www.uploadify.com/documentation/options/buttontext/ – lgomezma 2012-04-03 18:41:36
看起来uploadify网站已关闭......将在一段时间内尝试使用。谢谢。 – GoldenUser 2012-04-03 19:01:13