Image和onload 一、JS的new image()用法 創建一個Image對象:var a = new Image(); 定義Image對象的src:a.src="xxx.gif";這樣就相當於給瀏覽器 ...