1. Image hyperlink:
The format is:
2. What is image map?
Divide a diagram into multiple areas, each pointing to a different URL address
3. How to produce image map
(1) First to define the image of the hotspot area of the shape, location coordinates, and its point to the URL address information, this process is called image hotspot mapping.
This process is illustrated with a label pair, where the Name property specifies a title for the hotspot map.
(2) Each area of the map in the image hotspot is labeled with the label in the following format:
The href section can also be represented by nohref, which means that clicking in this area is not valid. (3) Once defined, add a property set named Usemap to the image label as follows:
Example: The code is as follows:
The effect is as follows:
The setting description for the Shape property:
Rect defines a rectangular area, the Coords property is set to the upper-left corner of the rectangle, the coordinates of the lower-right corner, the coordinate values are separated by the number;
Poly defines the area of a polygon, and the Coords property sets the value to the coordinate value of each vertex of the polygon;
Cicle defines a circular area, the Coords property sets the value of the circle coordinate and the radius, the first two coordinates, and the latter the radius.Example: The code is as follows: The effect is as follows: The code is as follows: Example: The code is as follows: The following: Example: The code is as follows: Example: The code is as follows: Example: The code is as follows: