Implementation features:
Click on the text of the floor to display the floor plan, for example: click 1# to display the floor plan of 1 building, which is actually the same as clicking on the picture to enlarge and display
First, upload the html code, as follows:
We use the "modal box" to display the image, and the html code is as follows:
Click on the text to display the js code of the image as follows:
Tourists, if you want to see the hidden content of this post, please Reply
In order for the phone to display normally, we need to set the CSS style, as follows:
If you don't set the CSS style above, there will be problems displaying the picture on your phone!!
|