<lcHotspot2>

In a <lcHotspot2> interaction, the learner clicks on a region of the screen to indicate a choice. This element replaces the <lcHotspot> element in DITA 1.2.

Content models

See appendix for information about this element in OASIS document type shells.

Inheritance

+ topic/div learningInteractionBase2-d/lcInteractionBase2 learning2-d/lcHotspot2

Example

This section is non-normative.

   <!--Hotspot Interaction    -->
   <lcHotspot2>
    <lcInteractionLabel2>Team logos hotspot</lcInteractionLabel2>
    <lcQuestion2>Which of the following is the logo for the Minnesota Twins?</lcQuestion2>
    <lcHotspotMap2>
     <image href="hotlogos.gif"/>
     <lcArea2 id="twins">
      <lcAreaShape2>rect</lcAreaShape2>
      <lcAreaCoords2>0,0,50,50</lcAreaCoords2>
      <lcCorrectResponse2 value="twins"/>
      <lcFeedback2>Yes.</lcFeedback2>
     </lcArea2>
     <lcArea2 id="giants">
      <lcAreaShape2>rect</lcAreaShape2>
      <lcAreaCoords2>50,0,100,50</lcAreaCoords2>
      <lcFeedback2>No.</lcFeedback2>
     </lcArea2>
     <lcArea2 id="cardinals">
      <lcAreaShape2>rect</lcAreaShape2>
      <lcAreaCoords2>0,50,50,100</lcAreaCoords2>
      <lcFeedback2>No.</lcFeedback2>
     </lcArea2>
     <lcArea2 id="orioles">
      <lcAreaShape2>rect</lcAreaShape2>
      <lcAreaCoords2>50,50,100,100</lcAreaCoords2>
      <lcFeedback2>No.</lcFeedback2>
     </lcArea2>
    </lcHotspotMap2>
   </lcHotspot2>

Content model

<lcInteractionLabel2>?, <lcQuestion2>, <lcHotspotMap2>, <lcFeedbackIncorrect2>?, <lcFeedbackCorrect2>?, <data>*

Not contained by any element.

In order
  1. Optional <lcInteractionLabel2>
  2. <lcQuestion2>
  3. <lcHotspotMap2>
  4. Optional <lcFeedbackIncorrect2>
  5. Optional <lcFeedbackCorrect2>
  6. Zero or more <data>

Not contained by any element.

Inheritance

+ topic/div learningInteractionBase2-d/lcInteractionBase2 learning2-d/lcHotspot2

The <lcHotspot2> element is specialized from <lcInteractionBase2>. It is defined in the learning2-domain module.

Attributes

The following attributes are available on this element: Universal attribute group and outputclass.