Show / Hide Table of Contents


You can navigate through the following ways:
  1. Mouse Scroll
  2. Pan
  3. Zoom

1. Mouse Scroll

Vertical and Horizontal scroll

Set mouseScrool option to FamilyTree.action.scroll and you will be able to navigate with the mouse:

  • Scroll up/down
  • Press Shift key to sroll left/right
  • On Apple Magic Mouse or Logitech G502 you can scroll left/right/up/down without pressing the Shift key

Add scroll bars with the options showXScroll: FamilyTree.scroll.visible and showYcroll: FamilyTree.scroll.visible

Horizontal scroll only

In order to enable horizontal scroll bar set showXScroll to FamilyTree.scroll.visible. Aslo you have an option to use the mouse scroll set mouseScrool to FamilyTree.action.xScroll. Here is an example:

Vertical scroll only

Now set the showYScroll to FamilyTree.scroll.visible and chage mouseScrool to FamilyTree.action.yScroll

Scroll sensitivity

To increase or decrease sroll sensitivity change FamilyTree.scroll.smooth and FamilyTree.scroll.speed constants, the default values are:

     FamilyTree.scroll.smooth = 12;
     FamilyTree.scroll.speed = 12;  
Also you can change the sroll sensitivity for a specific browser. For example:
     FamilyTree.scroll.safari = {
        smooth: 12,
        speed: 500
    }; = { smooth: 12, speed: 200 };
     FamilyTree.scroll.edge = { smooth: 12, speed: 200 }; = { smooth: 12, speed: 200 };
     FamilyTree.scroll.firefox = { smooth: 12, speed: 200 };
     FamilyTree.scroll.opera = { smooth: 12, speed: 200 };

2. Pan

Pan/move, left-click and hold mouse button in the Family Tree JS and drag the mouse in any direction. You cannot disable the Pan navigation.

3. Zoom

Chage mouseScrool to FamilyTree.action.zoom. Here is the result:

4. Ctrl + Zoom

Chage mouseScrool to FamilyTree.action.ctrlZoom. Here is the result:

5. Mini map

Show mini map over the tree.

Set miniMap option to true.