Notice
														
												
											
												
												
													Recent Posts
													
											
												
												
													Recent Comments
													
											
												
												
													Link
													
											
									| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 | 
| 9 | 10 | 11 | 12 | 13 | 14 | 15 | 
| 16 | 17 | 18 | 19 | 20 | 21 | 22 | 
| 23 | 24 | 25 | 26 | 27 | 28 | 29 | 
| 30 | 
													Tags
													
											
												
												- 3D프린터
 - 쇼핑몰
 - 웹개발자
 - 홈페이지
 - 쇼핑몰제작
 - 쇼핑몰구축
 - 웹퍼블리셔
 - JQuery
 - 웹디자인
 - 포트폴리오
 - 제이쿼리
 - 플러그인
 - jQuery Plugin
 - 고도몰
 - 웹디자이너
 - work6.kr
 - 프로그래머
 - plugin
 - 워크식스
 - 웹에이전시
 - 안드로이드
 - 튜닝
 - 사이트제작
 - 홈페이지구축
 - 웹퍼블리싱
 - 홈페이지제작
 - CSS
 - PHP
 - 개발자
 - 커스터마이징
 
													Archives
													
											
												
												- Today
 
- Total
 
그냥 개발자 블로그
input file 에 스타일 적용 시켜주는 플러그인 designFile.js - 워크식스 본문
input file을 css로 디자인 할 수 있게 해주는 플러그인
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="/js/designFile_1.0.js"></script>
 
<style>
/* designFile */
.designFile{
    position:relative;
    display:inline-block;
    cursor:pointer;
    border:1px solid #e2e2e4;
    border-radius: 0px;
    margin:1px 0px;
    width:100%;
    height: 48px;
    line-height: 48px;
    text-indent: 9px;
    background: #fff;
    color:#797979;
}
</style>
 
<script>
$(function(){
 
    if ($('[type="file"]')[0]) {
        $('[type="file"]').each(function(){
            $(this).designFile();
        });
    }
 
});
</script>
 
<input type="file" name="user_file">
설치방법
1. Line1 : 제이쿼리를 설치 및 연결 합니다.
2. Line2 : 다운로드 받은 플러그인을 설치 및 연결 합니다.
3. Line4 ~ 20 : 스타일을 복사 그리고 붙여넣기 합니다. 자신의 홈페이지에 맞게 부분적으로 수정 합니다.
4. Line25 ~ Line29 : 스크립트를 복사 그리고 붙여넣기 합니다.
Install
1. Line1: Install and Connect the jQuery.
2. Line2: Install and connect the downloaded plug-in. 
3. Line4 ~ 20 : Copy and paste the style. Partially modify it to fit your Web site.
4. Line25 ~ Line29 : Copy and paste the script.
플러그인은 워크식스 홈페이지에서 만나보실 수 있습니다.
2018/06/20 - [jQuery] - [워크식스] 토글버튼을 만들기 자바스크립트 플러그인 - designToggle_1.0.js
2018/06/18 - [jQuery] - [워크식스] select 에 css 적용하기 - designSelect_1.4.js
2018/04/05 - [jQuery] - [워크식스] 스크롤 위치에따라 이미지 차례로 불러오기 -highImageLoader_1.0.js
'소식 > 플러그인소식' 카테고리의 다른 글
| [워크식스] hamburgerMenu.js 플러그인 개발 (0) | 2019.03.27 | 
|---|---|
| [워크식스] 포트폴리오 20190227.js 플러그인 개발 (0) | 2019.03.25 | 
| [워크식스] 토글버튼을 만들기 자바스크립트 플러그인 - designToggle_1.0.js (0) | 2018.06.20 | 
| [워크식스] select 에 css 적용하기 - designSelect_1.4.js (0) | 2018.06.18 | 
| [워크식스] 스크롤 위치에따라 이미지 차례로 불러오기 -highImageLoader_1.0.js (0) | 2018.04.05 |