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. | + | var grd=axt.createRadialGradient(420,10,500,105); |
- | grd.addColorStop(0,"# | + | grd.addColorStop(0,"#d4d4d4"); |
- | grd.addColorStop(0.5,"# | + | grd.addColorStop(0.5,"#2d2d2d"); |
- | grd.addColorStop(1,"# | + | grd.addColorStop(1,"#d4d4d4"); |
axt.fillStyle=grd; | axt.fillStyle=grd; | ||
axt.fillRect(420,400,548,105); | axt.fillRect(420,400,548,105); |
Revision as of 15:42, 22 October 2013