The solution to the problem that using the resize event does not work on the frame when the browser window size changes is as follows:
When the browser changes, zoom in or out, there is no response;
Method 1: Add onLoad="" onResize="" method to the tag and write the corresponding method. Method 2: window. onresize=function(){///....} Just write the corresponding code in the method. Both methods can basically solve your problem