summaryrefslogtreecommitdiffabout
path: root/htdocs/simple.chtml
blob: 9900f003b5403ef177a42c5a104d2b624cd71380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
% html(); return; /* vim:set ft=sitecing: */
%%derive layout = "/ancestry/layout.chtml";
<%constructor>
 b_strict = false;
</%constructor>
<%codemethod string title() %>
 return "simple page";
</%codemethod>
<%method void content() %>
 <h1>building a really simple page</h1>
 <p>
  Building a really simple page is really simple. I will not go into much detail
  here. The example provided should speak for itself.
 </p>
 <p>
  The component being written doesn't do much but show you the calendar for the
  current month. First, take a look at <a
  href="/view/htdocs/examples/calendar.chtml" title="the link opens in the frame
  below" target="insert">the code</a> and, after you examined it, feel free to check out
  <a href="/examples/calendar" title="the link opens in the frame below"
  target="insert">the output</a>.
 </p>

 <div class="insert">
  <iframe id="insert" name="insert" src="about:blank" width="95%" height="300">
   <p>I wanted to put an &lt;iframe&gt; here, but your browser does not seem to
   support it. That is okay, it still will open links somehow.</p>
  </iframe>
 </div>

</%method>