본문 바로가기

IT-Consultant

트리 만들기

예전에 Tree를 만들려면 쌩 노가다를 했어야 했다.
이번에 Tree를 만들 필요가 있어서 인터넷을 찾아보니 Dtree라는 것이 있어서 테스트해보니 아주 간단하면서도 잘 되었다.
혹 이것을 아주 유용하게 사용하는 개발자라면 기부좀 해도 될것 같다.
기부를 하고 싶다면 아래 다운로드 페이지 우측 하단에 기부 버튼이 있다.

그외에 JTree가 있고 XTree가 있는데 JTree는 자바단에서 동작하는거라 현재 프로젝트으 적용할 수 없고 XTree는 조금더 복잡한것 같다. 그래서 DTree로 한다.

다운로드 위치 : http://destroydrop.com/javascripts/tree/



Description

dTree is a free JavaScript tree menu.

There are a lot of tree generating scripts just like this one, and many of them are great. So why use dTree?
dTree is very simple to set up and use. You don't have to worry about adding pages to the tree in a specific order, which makes it ideal for generating a tree from a database.

The first version of the tree is still available here.

Key features

  • Unlimited number of levels
  • Can be used with or without frames
  • Remembers the state of the tree between pages
  • Possible to have as many trees as you like on a page
  • All major browsers suported
    • Internet Explorer 5+
    • Netscape 6+
    • Opera 7+
    • Mozilla
  • Generates XHTML 1.0 strict validated output
  • Alternative images for each node