3.3.5.1.12 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

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 3.4.1.3 univ-atts attribute group

     

global-atts attribute group (xtrf, xtrc)

A set of related attributes, described in 3.4.1.2 global-atts attribute group

     

class, outputclass

Common attributes described in 3.4.1.9 Other common DITA attributes

     

Previous Topic:  3.3.5.1.11 lcFeedbackIncorrect

Next Topic:  3.3.5.1.13 lcItem

Parent Topic:  3.3.5.1 Common learning interactions elements

Sibling Topics:

3.3.5.1.1 lcAnswerContent

3.3.5.1.2 lcAnswerOption

3.3.5.1.3 lcAnswerOptionGroup

3.3.5.1.4 lcArea

3.3.5.1.5 lcAreaCoords

3.3.5.1.6 lcAreaShape

3.3.5.1.7 lcAsset

3.3.5.1.8 lcCorrectResponse

3.3.5.1.9 lcFeedback

3.3.5.1.10 lcFeedbackCorrect

3.3.5.1.11 lcFeedbackIncorrect

3.3.5.1.13 lcItem

3.3.5.1.14 lcMatchingHeader

3.3.5.1.15 lcMatchingItem

3.3.5.1.16 lcMatchingItemFeedback

3.3.5.1.17 lcMatchingPair

3.3.5.1.18 lcMatchTable

3.3.5.1.19 lcOpenAnswer

3.3.5.1.20 lcQuestion

3.3.5.1.21 lcSequence

3.3.5.1.22 lcSequenceOption

3.3.5.1.23 lcSequenceOptionGroup