lcHotspotMap
A lcHotspotMap interaction lets you
designate an action area or region over an image, allowing a click
in that region to get scored as correct or incorrect in response to
an interaction question.
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 | ( (image) then (lcArea) (one or more) ) |
Contained by
Doctype | Content model |
---|---|
learningAssessment, learningContent, learningOverview, learningPlan, learningSummary | lcHotspot |
Inheritance
+ topic/fig learningInteractionBase-d/figgroup learning-d/lcHotspotMap
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? |
---|---|---|---|---|
univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups) | A set of related attributes, described in univ-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 |