In a lcHotspot interaction, the learner clicks on a region of the screen to indicate a choice.
| Doctype | Content model |
|---|---|
| learningAssessment, learningContent, learningOverview, learningPlan, learningSummary | ( (title) (optional) then (lcQuestion) then (lcHotspotMap) then (lcFeedbackIncorrect) (optional) then (lcFeedbackCorrect) (optional) then (data) (any number) ) |
<!--Hotspot Interaction -->
<lcHotspot id="hotspots">
<title>Team logos hotspot</title>
<lcQuestion>Which of the following is the logo for the Cleveland Indians?</lcQuestion>
<lcHotspotMap>
<image href="hotlogos.gif"/>
<lcArea id="indians">
<lcAreaShape>rect</lcAreaShape>
<lcAreaCoords>0,0,50,50</lcAreaCoords>
<lcCorrectResponse value="indians"/>
<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>
| Name | Description | Data Type | Default Value | Required? |
|---|---|---|---|---|
| id | Defines an ID by which the element may be referenced. | NMTOKEN | #REQUIRED | Yes |
| conref-atts attribute group (conref, conrefend, conaction, conkeyref) | A set of related attributes; includes all of the attributes described in id-atts attribute group except for the id attribute. | |||
| select-atts attribute group (props, base, platform, product, audience, otherprops, importance, rev, status) | A set of related attributes, described in select-atts attribute group | |||
| localization-atts attribute group (translate, xml:lang, dir) | A set of related attributes, described in localization-atts attribute group. | |||
| global-atts attribute group (xtrf, xtrc) | A set of related attributes, described in global-atts attribute group | |||
| class, outputclass | Common attributes described in Other common DITA attributes |
Return to main page.
OASIS DITA Version 1.2 -- OASIS Standard, 1 December 2010
Copyright © OASIS Open 2005, 2010. All Rights Reserved.