Family Tree Builder (version 0.6): Help

Family Tree Builder (FTB) is a simple program that allows you to create, edit, display and save family trees in your browser.

Disclaimer: FTB is a freeware and you can use it, modify it, and share it as you please. I accept no responsibility for lost data, improper usage, etc.

Getting started

I hope that you will understand how the program works without reading this help (with the possible exception of saving data). Remember that all actions are triggered by clicking the nodes of the family tree.

So go ahead, open the main file ftb.html in your browser and start a new family tree!

Terminology

Basic principles

You can work with the tree in two modes:

You will learn below how to decide whether a tree should open in the edit mode or in the view mode.

Each node is in one of two states:

All user actions are initiated by clicking on a node in the tree. In the edit mode, a contextual menu will then be displayed, from which you can select a desired action.

You can perform four kinds of actions:

Here is a detailed description of these four actions:

Changing the geometry of the tree

By clicking a node in the edit mode, you can:

Expanding and collapsing nodes and subtrees

In the View mode:

In the Edit mode:

Editing information in the nodes

You can add a person by clicking on any other person in the node (or on the node itself if it is empty).

Upon clicking on a person, you can also delete it, edit its information, move it in the node, and add information common to all persons in the node (such as the date of marriage).

The information collected for each person is as follows (you can leave any of the fields blank):

The provided information can be a plain text or HTML code. You can thus add links to other web pages inside the nodes, and so on, as long as you know the required HTML code.

The photograph will be scaled to a size 100 pixels high times 80 pixels wide. If you wish to prevent scaling and distortion, provide photographs in the above size.

Saving the tree

Saving the tree requires a bit of your assistance. This is because FTB is written in JavaScript, and JavaScript applications are not allowed to open or save files from the browser for security reasons.

To save the tree, click on a node and select "Save the family tree" from the displayed menu.

A dialog box will appear with detailed instructions how to proceed. In a nutshell, the HTML code of the file you need to save will be displayed. You must then copy it, paste it into a text editor (such as Notepad), and save it as plain text into the FTB folder. Don't forget to use the extension ".html", else the saved file will not be automatically recognized as a webpage by your operating system.

Once the file is saved, you can continue working.

You can later open the file via the main FTB page ftb.html by specifying the filename, or you can open the file directly in your browser.

Sharing your family tree with others in Edit mode or View mode

Let us assume that you have created and saved a family tree named mytree.html and that you saved it into the FTB folder. You would now like to share it with others. How to do it?

If you wish to share the tree in a View mode only, collect these files in the FTB folder:

Then send all of the above files to the other party, let them save the files into one folder, and tell them to open the file mytree.html in their browser.

Alternatively, you can post the files online in one folder with mytree.html as the main page.

If you wish to display the file in the Edit mode, proceed as in the View mode, but add the file ftbedit.js. The other party will then have the ability to edit the copy of your family tree.

For advanced users

You can modify the appearance of the tree by playing with the style sheet ftb.css.

If you are adventurous, you can even modify the JavaScript files ftb.js and ftbedit.js to add functionality to the program, or to render the tree differently on the screen. There is no high-level trickery used in the code, but positioning and displaying the tree on the screen is a delicate operation so you will probably not understand the code without studying it carefully.


Have fun!

Petr Vojtechovsky (May 2007, Denver)