TQS Home
Trivia Quiz Shell Version 2.8 Now Available!Bot Productions Home
TQS 2.0

Back to Reference

HEADING Element

Contains the text of the heading to be displayed at the top of the TQS window, along with optional graphics.

Syntax
<HEADING
  LIMG="limg"
  RIMG="rimg">heading</HEADING>
Attributes
LIMG
File name of a graphic to be displayed to the left of the heading.
RIMG
File name of a graphic to be displayed to the right of the heading.
Placement

The HEADING element must be a child of the LOC element.

Children

No children are supported within the HEADING element.

Remarks

The image files specified by the LIMG and/or RIMG attributes, if any, must reside in the data root folder. This is, by default, the folder containing the .TQS file.

  • TQS 2.1 The data root folder can be set with the TQS element's DATAROOT attribute. To specify an absolute path, such as an Internet address, precede the path with NOROOT?.
  • TQS 2.6 To specify an embedded file, precede the path with EMBED?.

The heading will be used in the report table to represent its location; use the REPORTTITLE element to specify a different title for use in the report. If neither the HEADING nor REPORTTITLE elements exist, the LOC element's ID attribute will be displayed instead.

Examples

<HEADING>My Main Menu</HEADING>
<HEADING LIMG="img.gif"
  RIMG="img.gif">Heading With Same Graphics</HEADING>
<HEADING
  LIMG="NOROOT?http://www.example.com/limg.gif"
  >Heading With One Graphic</HEADING>
<HEADING
  LIMG="EMBED?limg.gif"
  RIMG="EMBED?rimg.gif">Heading With Embedded Graphics</HEADING>

©2020 Bot Productions. All rights reserved.Last Updated: January 5, 2006