<lcHotspot>
The <lcHotspot>
element was
deprecated in DITA version 1.3. It was replaced with the
<lcHotspot2>
element. It was originally intended to support
an interaction where the learner clicks on a region of the screen to indicate a
choice.
Content models
See appendix for information about this element in OASIS document type shells.
Inheritance
+ topic/fig learningInteractionBase-d/lcInteractionBase learning-d/lcHotspot
Example
<!--Hotspot Interaction --> <lcHotspot id="hotspots"> <title>Team logos hotspot</title> <lcQuestion>Which of the following is the logo for the Minnesota Twins?</lcQuestion> <lcHotspotMap> <image href="hotlogos.gif"/> <lcArea id="twins"> <lcAreaShape>rect</lcAreaShape> <lcAreaCoords>0,0,50,50</lcAreaCoords> <lcCorrectResponse value="twins"/> <lcFeedback>Yes.</lcFeedback> </lcArea> <lcArea id="giants"> <lcAreaShape>rect</lcAreaShape> <lcAreaCoords>50,0,100,50</lcAreaCoords> <lcFeedback>No.</lcFeedback> </lcArea> <lcArea id="cardinals"> <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> </lcHotspot>
Attributes
The following attributes are available on this element: Universal attribute group (with a narrowed definition of @id
, given
below) and outputclass.
@id
(REQUIRED)- Defines an ID by which the element can be referenced.