본문 바로가기

개발/jQuery 플러그인 메뉴관련3

jsTree 이벤트 데이타 "data.rslt" Sorry about that - I just did not have the time to document all events. I figured most of the time a console.log(data.rslt) would suffice. Well, not always, as for example the move_node is a bit harder to "decode" - it is in the core docs - bottom of the page: .o - the node being moved .r - the reference node in the move .ot - the origin tree instance .rt - the reference tree instance .p - the p.. 2011. 5. 7.
jsTree onselect & onclick events http://longant.blogspot.com/2010/12/jstree-onselect-onclick-events.html Functionality was pretty simple: folder structure in left container, folder content in right container. It was pretty clear that we were going to use jsTree, but we struggled a bit too much with the events, binding and the simple fact that we wanted to know when we were selecting a node. Documentation has not made my life ea.. 2011. 4. 12.
jsTree(jQuery) http://www.jstree.com/ http://frontjang.tistory.com/146 [그림 1] jsTree의 예시. 노드 선택(단일/다중/체크박스), 추가/수정/삭제, 비동기적 로딩이 가능하다. 자바스크립트가 나오기 초창기부터 트리메뉴는 발전하기 시작하였다. 90년대 중반즘에 윈도95에서 동작하는 자바스크립트 트리메뉴를 보고 신기해서 서점에 달려가 html/js 책을 망설임 없이 사버렸었다. 그당시에는 책들이 조잡하고 야시시 했기 때문에 가장 무난한 표지와 두께의 책을 고르려 했으나, 결국 책을 뒤적이다 태그의 예시를 프린트해놓은 책을 보고 그게 js 트리메뉴인줄 알고 샀던것... 물론 그것도 신기해 했었지만 js가 제대로 설명되지도 않은 허접한 책이라 실망했었다. 이후에도 자바 애플릿.. 2011. 4. 7.