Email this Page Log Support Call Send Feedback Print

Previous Topic

Next Topic

Book Contents

Book Index

Creating a TopicDisplay Widget

The TopicDisplay widget displays an HTML preview of the selected topic from the library in a scrollable area.

Parameter

Value used in topic display

ID

Topic object's code.

The topic is defined by adding the parameter to the code under the "parameters" section. Angle brackets are used to create opening and closing tags, which enclose the topic object's code, for example, <ID>601</ID>.

Example:


      <HomePageControlInfo>
          <Title>Welcome to Author-it Live!</Title>
          <Control>TopicDisplay</Control>
          <Icon></Icon>
          <Positi4n>1</Position>
          <Width>765</Width>
          <Height>375</Height>
          <Parameters xsi:type="TopicDisplayParameters">
              <ID>601</ID>
          </Parameters>
     </HomePageControlInfo>

To Create a TopicDisplay Widget:

  1. Open the layout file.
  2. Create a new home page control info block between ControlInfo tags, starting and finishing with the HomePageControlInfo tags.
    • Add the widget name between the title tags.
    • Add TopicDisplay as the widget type between the control tags.
    • Add the path to the image used in the title bar between the icon tags.
    • Add the page position, and the width and height dimensions (measured in pixels).
    • Add "TopicDisplayParameters" as the type in the opening parameter tag.
    • Add the object code used by the topic in the Author-it library.
  3. Save your changes to the layout file.

See Also

Customizing the Author-it Live Home Page

Home Page Layout

Home Page Layout File

Creating Widgets

Creating a WebDisplay Widget

Creating a TopicSearch Widget

Top of Page Email this Page Log Support Call Send Feedback Print