When the mouse is moved over the product thumbnail, a large image will pop up. This can be achieved by writing two functions in JS: one function is called when the mouse is moved over the image to display the hidden layer and load the image into the layer; the other function Called when the mouse is moved out of the image, the layer's contents are cleared and the layer is hidden. When using, you need to change "this.src" to the address of the product image .