function ReImgSize(){
;document.images.length;j ) ; . Tested and passed on Mozilla and IE. Let me add here about the adaption of images. Mozilla does this better than IE because CSS can be used to control the adaption of images. We all know that Mozilla supports a max-width CSS syntax. So we define the global style of the picture like this.
Copy code
The code is as follows: