Download

Version 0.3 [2010/05/10]
Download: jquery.gantt.zip
Download: jquery.gantt.js(Script Only)
require jQuery 1.2.6 or later

ChangeLog

Example

[<<] [<] now [>] [>>] | [Date] / [Month]

source

<html>
<head>
<link rel="stylesheet" type="text/css" href="jquery.gantt/jquery.gantt.css" />
<script language="javascript" type="text/javascript" src="jquery.js"></script>
<script language="javascript" type="text/javascript" src="jquery.gantt.js"></script>
<script language="javascript" type="text/javascript">
<!--
$(function(){
$("#gantt01").gantt({
'tasks':[
{ 'titles': 'Task01', 'start_date': '', 'end_date': '' },
{ 'titles': 'Task02', 'start_date': '', 'end_date': '' },
{ 'titles': 'Task03', 'start_date': '', 'end_date': '' }
]
});
});
//-->
</script> </head> <body> <div id="gantt01"></div> </body> </html>

Manipulation

// Add Task
$('#gantt01').addTask({ 'titles': 'Task04', 'start_date': '', 'end_date': '' }); [test]
$('#gantt01').addTask({
	'titles': 'Task05',
	'start_date': '',
	'end_date': '',
	'color': '#0000FF',
	'text': 'Task05'
}); [test]

// Today
$('#gantt01').setPeriod(); // Next Page
$('#gantt01').setPeriod('+'); // +7th
$('#gantt01').setPeriod('+7'); // Prev Page
$('#gantt01').setPeriod('-'); // -7th
$('#gantt01').setPeriod('-7');

Expansions

$("#gantt02").gantt({
	'type': 'month'
	'range': 50,
	'titles': ['title01', 'title02']
'tasks':[
{ 'titles': [ 'Task01', 'hoge' ], 'start_date': '', 'end_date': '' },
{ 'titles': [ 'Task02', 'hoo' ], 'start_date':', 'end_date': ' }
]
});