2013年10月16日 - 13, //現有圖片只有寬或高超了預設值就進行js控制. 14, w=image.width/width;. 15, h=image.height/height;. 16. 17, if(w>h){//比值比較大==>寬比 ...
www.dotblogs.com.tw