Skip to content
This repository
Browse code

add tutorial sections

  • Loading branch information...
commit 7ca354ee7a09b36a84fb29228071c0023e5a491e 1 parent 308b3e3
Graeme Sutherland authored
14 samples/tutorial/part1/index.html
... ... @@ -0,0 +1,14 @@
  1 +<!doctype html>
  2 +<html>
  3 +<head>
  4 + <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  5 + <title>Sqwidget Tutorial Part 1</title>
  6 +</head>
  7 +<body>
  8 + <h1>Sqwidget Tutorial Part 1</h1>
  9 + <p>The simplest possible widget is shown below.</p>
  10 + <div data-sqwidget="src:text.html" style="border: solid black 1px;"></div>
  11 + <script type="text/javascript" charset="utf-8" src="../../../sqwidget.js"></script>
  12 + <a href="../part2/index.html">Go on to Part 2</a>
  13 +</body>
  14 +</html>
9 samples/tutorial/part1/text.html
... ... @@ -0,0 +1,9 @@
  1 +<!doctype html>
  2 +<html>
  3 +<head>
  4 + <title>text sqwidget</title>
  5 +</head>
  6 +<body>
  7 + <p><strong>This is the widget</strong></p>
  8 +</body>
  9 +</html>
13 samples/tutorial/part2/index.html
... ... @@ -0,0 +1,13 @@
  1 +<!doctype html>
  2 +<html>
  3 +<head>
  4 + <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  5 + <title>Sqwidget Tutorial Part 2</title>
  6 +</head>
  7 +<body>
  8 + <h1>Sqwidget Tutorial Part 2</h1>
  9 + <p>This widget (below) will have a javascript controller.</p>
  10 + <div data-sqwidget="src:part2.html" style="border: solid black 1px;"></div>
  11 + <script type="text/javascript" charset="utf-8" src="../../../sqwidget.js"></script>
  12 +</body>
  13 +</html>

0 comments on commit 7ca354e

Please sign in to comment.
Something went wrong with that request. Please try again.