js颜色变浅算法 求js颜色变浅算法,列如图片中的颜色展示。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <script>colors=["rgba(200,10,10,0.9)","rgba(200,10,10,0.6)","rgba(200,10,10,0.3)"];str1="<style>p{width:50;height:50;margin:10px}</style>";str2="";for(i=0;i<colors.length;i++){ str2+="<p style='background :"+colors[i]+";'>00</p>";}document.write(str1+str2);</script> 怎么学习jquery. 调用window.print()出现undefined 修改ext组件属性 HELP: JavaScript对null的处理? 求一个可以在IE和FF下都可行的一组图片上下滚动效果,间隔几秒上下滚动着换一组图片.谢谢 用jquery实现,被点击的<button>便背景色 【求帮助】window.event.returnvalue=false;不起作用 请帮帮我!关于脚本调用ASP代码块中的变量? 日期验证!!! 关于传递数值型字符串的问 js 怎么让js的变量以值的形式显示在javascript块内
colors=["rgba(200,10,10,0.9)","rgba(200,10,10,0.6)","rgba(200,10,10,0.3)"];
str1="<style>p{width:50;height:50;margin:10px}</style>";
str2="";
for(i=0;i<colors.length;i++){
str2+="<p style='background :"+colors[i]+";'>00</p>";
}
document.write(str1+str2);
</script>