DHTML Gantt sample

# Initialize object on page

You can place this JavaScript Gantt Chart anywhere on your web page, attaching it to any div object.

    <div style="width:950px;height:620px;position:absolute" id="GanttDiv"></div>
    <script>
            var gantt = new GanttChart();
            gantt.setImagePath("codebase/imgs/");
            gantt.setEditable(true);
            ...
            gantt.addProject(project_1);
            ...
            gantt.create("GanttDiv");
    </script>