"JsTree"의 두 판 사이의 차이

(새 문서: ==개요== ;jsTree ==참고 자료== *http://plugins.jquery.com/jstree/ 분류: jQuery 플러그인)
 
잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 7개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
;jsTree
;jsTree
*트리 구현을 위한 jQuery 플러그인 라이브러리


==참고 자료==
==예시==
*예제: http://zetawiki.com/ex/jquery/jsTree/ex01.php
<syntaxhighlight lang='html5'>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jstree/3.0.9/themes/default/style.min.css" />
 
<script src='//code.jquery.com/jquery-1.9.1.js'></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jstree/3.0.9/jstree.min.js"></script>
<script>
$(function () {
    $('#jstree').jstree();
});
</script>
 
<div id="jstree">
    <ul>
        <li>Folder 1
            <ul>
              <li>File 1</li>
              <li>File 2</li>
            </ul>
        </li>
        <li>Folder 2</li>
    </ul>
</div>
</syntaxhighlight>
 
==같이 보기==
*[[jQuery 플러그인]]
*[[트리]]
 
==참고==
*http://www.jstree.com/
*http://plugins.jquery.com/jstree/
*http://plugins.jquery.com/jstree/


[[분류: jQuery 플러그인]]
[[분류: jQuery 플러그인]]

2020년 11월 2일 (월) 02:54 기준 최신판

1 개요[ | ]

jsTree
  • 트리 구현을 위한 jQuery 플러그인 라이브러리

2 예시[ | ]

<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jstree/3.0.9/themes/default/style.min.css" />

<script src='//code.jquery.com/jquery-1.9.1.js'></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jstree/3.0.9/jstree.min.js"></script>
<script>
$(function () {
    $('#jstree').jstree();
});
</script>

<div id="jstree">
    <ul>
        <li>Folder 1
            <ul>
               <li>File 1</li>
               <li>File 2</li>
            </ul>
        </li>
        <li>Folder 2</li>
    </ul>
</div>

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}