如何使用Bootstrap 3使用Jasny的文件上传 [英] How to use Jasny's file upload with Bootstrap 3

查看:1032
本文介绍了如何使用Bootstrap 3使用Jasny的文件上传的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Bootstrap 3刚刚出来。我更喜欢Bootstrap 2,但我目前使用 Jasny的扩展来进行文件上传。有没有一种方法来选择该功能并将其用于Bootstrap 3?

解决方案

当您只想要文件上传插件时,我将基本工作,请参阅: bootstrap-server.jasny.net/bootstrap-fileupload.zip> http://bootstrap-server.jasny.net/bootstrap-fileupload.zip 您将获得所需的javascript和css文件。
或者您可以从 http://jasny.github。下载:file-upload.less和file-upload.js文件。 io / bootstrap /



使用本指南: http://www.bootply.com/migrate-to-bootstrap-3 ,使你的html与Twitter的Bootstrap 3兼容(改变你的css文件中的input-append等类)。



祝你好运

So Bootstrap 3 just came out. I prefer it to Bootstrap 2 but I am currently using Jasny's extension for file uploads. Is there a way to cherry-pick that feature and use it with Bootstrap 3?

解决方案

When you only want the file upload plugin i will work basically, see: http://bootply.com/72995

You could download the plugin from: http://bootstrap-server.jasny.net/bootstrap-fileupload.zip You will got the javascript and css files needed. Or you could download: the file-upload.less and file-upload.js files from http://jasny.github.io/bootstrap/

Use this guide: http://www.bootply.com/migrate-to-bootstrap-3 to make your html compatible with Twitter's Bootstrap 3. (change classes like input-append in your css file too).

Good luck

这篇关于如何使用Bootstrap 3使用Jasny的文件上传的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆