Language reference : Learning and training architecture : Learning and training interactions domain elements : DITA learning interaction base domain elements : lcHotspot
   
lcHotspot
In a lcHotspot interaction, the learner clicks on a region of the screen to indicate a choice.
Contains
Note: These models represent only the default document types distributed by OASIS. Actual content models will differ with each new document type.
Doctype
Content model
learningAssessment, learningContent, learningOverview, learningPlan, learningSummary
( (title) (optional) then (lcQuestion) then (lcHotspotMap) then (lcFeedbackIncorrect) (optional) then (lcFeedbackCorrect) (optional) then (data) (any number) )
Contained by
Doctype
Content model
learningAssessment, learningOverview, learningSummary
learningContent
learningPlan
Inheritance
+ topic/fig learningInteractionBase-d/lcInteractionBase learning-d/lcHotspot
Example 447. Example
<!--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>
Attributes
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