DITA Resource Center

<lcHotspotMap2>

A <lcHotspotMap2> 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. This element replaces the <lcHotspotMap> element in DITA 1.2.

Content models

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

Inheritance

+ topic/fig learningInteractionBase2-d/figgroup learning2-d/lcHotspotMap2

Example

   <!--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>

Attributes

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

Was this page helpful?