Email this Page Log Support Call Send Feedback Print

Previous Topic

Next Topic

Book Contents

Book Index

Creating a WebDisplay Widget

The WebDisplay widget is used to display the contents of a web page or an HTML page with links to online content.

Parameter

Value used in web display

URL

The web page's URL, or directory location of HTML page on web server.

The HTML page or web page 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 location to the HTML page on the web server or the URL to the web page.

Examples:

      <HomePageControlInfo>
          <Title>Find Out How to ...</Title>
          <Control>WebDisplay</Control>
          <Icon>/HPI/teacher.png</Icon>
          4</Position>
          <Width>370</Width>
          <Height>325</Height>
          <Parameters xsi:type="WebDisplayParameters">
              <Url>HomePageLayouts/MyHomePage/FindOutHowTo.html</Url>
          </Parameters>
      </HomePageControlInfo>

      <HomePageControlInfo>
          <Title>Author-it</Title>
          <Control>WebDisplay</Control>
          <Icon></Icon>
          1</Position>
          <Width>370</Width>
          <Height>325</Height>
          <Parameters xsi:type="WebDisplayParameters">
              <Url>http://www.authorit.com</Url>
          </Parameters>
      </HomePageControlInfo>

To Create a WebDisplay 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 WebDisplay for 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 "WebDisplayParameters" as the type in the opening parameter tag.
    • Add the web page URL, or the path and file name if you are linking to an HTML page between the URL tags.
  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 TopicDisplay Widget

Creating a TopicSearch Widget

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