<pre lang="cs">var paper = Raphael("div" + i + "", x, y); var rectangle = paper.path("M0,0 L0,100Z") rectangle.id = pcName; rectangle.attr("fill", "#f00"); rectangle.attr("stroke", "#fff");</pre>
function createStatus(pcName, status) { if (status == 0) { var c = document.getElementById(pcName); c.attr("fill", "#800000"); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)