Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
m
Line 412: Line 412:
function GenCell(pValue, css_class)//Generate table cell with value
function GenCell(pValue, css_class)//Generate table cell with value
{
{
-
return "<td class='" + css_class + "' onclick='javascript: if(" + pValue + "!='')Cal.Date="+pValue+"; RenderCal();'><a href='#" + this.Date.toString() + "-" + this.Month.toString() + "'>"+pValue +"</a></td>";
+
return "<td class='" + css_class + "' onclick='javascript: if(" + pValue + "!='')Cal.Date="+pValue+"; RenderCal();'><a href='#" + Cal.Date.toString() + "-" + Cal.Month.toString() + "'>"+pValue +"</a></td>";
}
}

Revision as of 16:49, 29 September 2013