1 2 3 4 Insert you title 5 6 7 8 9 10 27 54 55 56 检测到您的浏览器版本过低,请升级您的浏览器版本以获取更好的用户体验... 57 58 59 Read More
posted @ 2016-10-07 22:32 窗棂 Views(818) Comments(0) Diggs(0) Edit
创建一个Image对象:var a=new Image(); 定义Image对象的src: a.src=”xxx.gif”; 这样做就相当于给浏览器缓存了一张图片。 图像对象: 建立图像对象:图像对象名称=new Image([宽度],[高度]) 图像对象的属性: border complete h Read More
posted @ 2016-10-07 19:41 窗棂 Views(4577) Comments(0) Diggs(0) Edit
1 2 3 4 Insert you title 5 6 7 8 9 10 27 75 76 77 检测到您的浏览器版本过低请升级您的浏览器以获取更好的用户体验... 78 79 Read More
posted @ 2016-10-07 18:51 窗棂 Views(287) Comments(0) Diggs(0) Edit
1 2 3 4 Insert you title 5 6 7 8 9 10 27 42 43 44 检测到您的浏览器版本过低请升级您的浏览器以获取更好的用户体验... 45 46 Read More
posted @ 2016-10-07 18:03 窗棂 Views(1036) Comments(0) Diggs(0) Edit
1 2 3 4 Insert you title 5 6 7 8 9 10 44 45 46 47 48 检测到您的浏览器版本过低请升级您的浏览器以获取更好的用户体验... 49 50 请输入您关心的内容: 51 52 ... Read More
posted @ 2016-10-07 11:59 窗棂 Views(122) Comments(0) Diggs(0) Edit
8 在制作饼图或标签云时,我们通常需要很多颜色,方法有二。一是准备一组漂亮的候选颜色,二是随机生成颜色。在数量很多或不明确时,我想后者就是唯一的出路了。谷歌了一下,整理如下,按由浅入深的顺序排列。 10 实现1 11 12 var getRandomColor = function(){ 13 return '#' + 14 (function(color... Read More
posted @ 2016-10-07 10:11 窗棂 Views(266) Comments(0) Diggs(0) Edit