<lcAreaCoords>
This element contains text data representing coordinate data for learning images with linkable hotspots. Pixels are the recommended units for describing coordinates. The syntax of the coordinate data depends on the shape described by the coordinates, and is based on the image map definition in HTML. It uses the following data for the appropriate shapes:
- Shape
- Data format
- rect
- left-x, top-y, right-x, bottom-y
- circle
- center-x, center-y, radius
- poly
- x1, y1, x2, y2, ..., xN, yN. To close the polygon, ensure that the first x and y coordinate pair and the last are the same.
Content models
See appendix for information about this element in OASIS document type shells.
Inheritance
+ topic/ph learningInteractionBase-d/ph learning-d/lcAreaCoords
Example
<lcHotspotMap> <image href="hotlogos.gif"> <alt>Baseball team logos</alt> </image> <lcArea id="giants"> <lcAreaShape>rect</lcAreaShape> <lcAreaCoords>0,50,50,100</lcAreaCoords> <lcFeedback>No.</lcFeedback> </lcArea> <lcArea id="orioles"> <lcAreaShape>rect</lcAreaShape> <lcAreaCoords>50,50,100,100</lcAreaCoords> <lcFeedback>No.</lcFeedback> </lcArea> </lcHotspotMap>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of @translate, given below), @outputclass, and @keyref.
- @translate
- Indicates whether the content of the element
should be translated or not. For this element the
default value is "no". Setting to "yes" will
override the default. The DITA architectural
specification contains a list of each OASIS DITA
element and its common processing default for the
translate value; because this element uses an
actual default, it will always be treated as
translate="no"
unless overridden as described. Available values are:- no
- The content of this element is not translateable.
- yes
- The content of this element is translateable.
- -dita-use-conref-target
- See Using the -dita-use-conref-target value for more information.