DITA Resource Center

<lcHotspotMap>

The <lcHotspotMap> was deprecated in DITA version 1.3. It was replaced with the <lcHotspotMap2> element. It was originally intended to let 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.

Content models

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

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 Minnesota Twins?</lcQuestion>
    <lcHotspotMap>
     <image href="hotlogos.gif"/>
     <lcArea id="twins">
      <lcAreaShape>rect</lcAreaShape>
      <lcAreaCoords>0,0,50,50</lcAreaCoords>
      <lcCorrectResponse value="twins"/>
      <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

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

Was this page helpful?