Hi,
In Aras - form while i click the button this html page should open { In the button onclick event i have added the javascript method : window.open("\foldername\chart.html") and its opening}. But i want to pass the values to this html page { Pls see the below code in the parameter ( bold Font ) }
Need a Help:
1. How to pass the values from the aras to this html page
<html>
<head>
<link rel="stylesheet" type="text/css" href="../styles/jsgantt.css"/>
<script language="javascript" src="../javascript/jsgantt.js"></script>
<script language="javascript" src="../javascript/graphics.js"></script>
<title>RK Design Chart</title></head>
<body>
<div style="position:relative" class="gantt" id="GanttChartDIV"></div><script>
var g = new JSGantt.GanttChart('g',document.getElementById('GanttChartDIV'), 'hour');
g.setShowRes(1);
g.setShowDur(1);
g.setShowComp(1);
g.setCaptionType('Resource');
g.setFormatArr("hours","minutes")
var rk = "7/26/2009 8.30";
if( g ) {
// Parameters ( pID, pName, pStart, pEnd, pColor, pLink, pMile, pRes, pComp, pGroup, pParent, pOpen )
g.AddTaskItem(new JSGantt.TaskItem(11,'Designer1' , rk, '7/21/2009 15:30','ff00ff','http://www.mail.com',0,'Joseph',100,0,1,1));
g.AddTaskItem(new JSGantt.TaskItem(12,'Designer2'.'laras','7/22/2009 16:00',7/22/2009 17:00','00ff00','',0,'Kevin',40,0,1,1));
g.AddTaskItem(new JSGantt.TaskItem(13,'Designer3','moon','7/23/2009 16:00',7/23/2009 17:30','00ffff','http://www.yahoo.com',0,'Roderick',60,0,1,1));
g.AddTaskItem(new JSGantt.TaskItem(14,'Designer4','krish','7/24/2009 18:00','7/24/2009 23:00','00ffff','http://www.yahoo.com',0,'Lip',60,0,14,1));
g.Draw();
g.DrawDependencies();
}
else
{
alert("not defined");
}
</script></body>
</html>
Advance thanks,
Krish