To ensure that the image is completely loaded before getting its width and height, the window's load event handler is used. JS; HTML; CSS. JS. 1. 2.
確定! 回上一頁