Team:XMU Software/Team
From 2013.igem.org
(Difference between revisions)
YuezhenChen (Talk | contribs) |
YuezhenChen (Talk | contribs) |
||
Line 67: | Line 67: | ||
var a=document.getElementById("shadow"); | var a=document.getElementById("shadow"); | ||
var axt=a.getContext("2d"); | var axt=a.getContext("2d"); | ||
- | var grd=axt.createLinearGradient( | + | var grd=axt.createLinearGradient(420,10,500,105); |
grd.addColorStop(0,"#becbad"); | grd.addColorStop(0,"#becbad"); | ||
grd.addColorStop(0.5,"#e4d7aa"); | grd.addColorStop(0.5,"#e4d7aa"); | ||
grd.addColorStop(1,"#becbad"); | grd.addColorStop(1,"#becbad"); | ||
axt.fillStyle=grd; | axt.fillStyle=grd; | ||
- | axt.fillRect( | + | axt.fillRect(420,400,548,105); |
</script> | </script> | ||
</html> | </html> |
Revision as of 15:38, 22 October 2013