Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 411: Line 411:
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 + "'><a href=\"javascript:window.location.hash='#"  + Cal.Month +"-" + pValue + "';\">"+pValue +"</a></td>";
+
return "<td class='" + css_class + "'><a href=\"window.location.hash='#"  + Cal.Month +"-" + pValue + "';\">"+pValue +"</a></td>";
}
}

Revision as of 17:08, 29 September 2013