gantti
gantti copied to clipboard
Assignment.
Would be great if you added an assignment parameter where users could list names (they would just show up inside bars in gantt chart).
Hi, I did this with jquery tooltip, when the mouse goes over the bar it displays the info of the assignment like start date, end date, people involved...like this: $data[] = array( 'label' => 'Project 1', 'start' => '2012-04-20', 'end' => '2012-05-12' 'info' => 'Start date: 2012-04-20 
 End date: 2012-05-12 
 Responsible: Mark, Maria, John' );

 Means line break...didnt work with <br> or \n Then in lib/gantii.php $html[] = '<span class="gantt-block" style="left: ' . $left . 'px; width: ' . $width . 'px; height: ' . $height . 'px" title="' . $block['info'] . '"><strong class="gantt-block-label"></strong></span>';
and where is the jquery ?
i put this in the gantti.php and the rest of antonioj1015: