Skip to content
Browse files

add tutorial sections

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

0 comments on commit 7ca354e

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