Team:XMU Software/Team
From 2013.igem.org
(Difference between revisions)
YuezhenChen (Talk | contribs) |
YuezhenChen (Talk | contribs) |
||
Line 69: | Line 69: | ||
var c1=document.getElementById("shadow"); | var c1=document.getElementById("shadow"); | ||
var cxt1=c1.getContext("2d"); | var cxt1=c1.getContext("2d"); | ||
- | var grd1=cxt1.createRadialGradient( | + | var grd1=cxt1.createRadialGradient(500,50,500,105); |
grd1.addColorStop(0,"#e3e3e3"); | grd1.addColorStop(0,"#e3e3e3"); | ||
grd1.addColorStop(0.5,"#5a5a59"); | grd1.addColorStop(0.5,"#5a5a59"); | ||
grd1.addColorStop(1,"#e3e3e3"); | grd1.addColorStop(1,"#e3e3e3"); | ||
cxt1.fillStyle=grd; | cxt1.fillStyle=grd; | ||
- | cxt1.fillRect( | + | cxt1.fillRect(500,500,500,105); |
</script> | </script> | ||
</html> | </html> |
Revision as of 15:55, 22 October 2013