如何在包装盒中显示颜色

时间:2014-12-29 00:39:00

标签: html5 canvas

下面有什么脚本错误?

var color = ["black","gray","silver","white","yellow","orange","red","brown","pink","purple","blue","aqua","green","lime","olive","navy","teal"];
for(a=0; a<color.length; a++){
    document.write("<li><a href='#' class='color' id='"+color[a]+"'></a></li>");

问题,在一个框中没有出现颜色。

如何在包装盒中显示颜色?

0 个答案:

没有答案