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.
Doctype | Content model |
---|---|
learningAssessment, learningContent, learningOverview, learningPlan, learningSummary | ( (image) then (lcArea) (one or more) ) |
Doctype | Content model |
---|---|
learningAssessment, learningContent, learningOverview, learningPlan, learningSummary | lcHotspot |
<!--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? |
---|---|---|---|---|
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 |
Return to main page.
DITA v1.2 CD 04
Copyright © OASIS Open 2005, 2010. All Rights Reserved.