Usage

The simplest usage is a bare bone HTML file with a simple script tag added:

<!DOCTYPE html>

<html lang="en">
<head>
  <title>Root Index</title>
  <meta charset="utf-8" />

  <meta http-equiv="Pragma" content="no-cache">
  <meta http-equiv="Expires" content="-1">
  <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">

  <script src="/IW17/IntraWeb/Loader.js" data-Source="*"></script>
</head>

<body>
  Loading IntraWeb...
</body>

</html>

This html displays “Loading IntraWeb…” briefly while loading. This text is not necessary. An empty body can be used, or any HTML that you want. However when the IWML is loaded, the body will be entirely replaced.

IWML can also be rendered into individual HTML elements such as a DIV without replacing existing body content.