Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Spry HTML Panel</title>
<script language="JavaScript" type="text/javascript" src="SpryHTMLPanel.js"></script>
<link href="SpryHTMLPanel.css" rel="stylesheet" type="text/css" />
<style type="text/css">
 
#samplePanel {
    border: solid 1px black;
    background-color: #FFFFCC;
    padding: 4px;
}
 
#samplePanel.HTMLPanelError {
    background-color: red;
}
</style>
</head>
<body>
<p>
    <a href="../../samples/htmlpanel/frag-0.html" onclick="hpanel.loadContent(this.href); return false;">Fragment-1</a> |
    <a href="../../samples/htmlpanel/frag-1.html" onclick="hpanel.loadContent(this.href); return false;">Fragment-2</a> |
    <a href="../../samples/htmlpanel/frag-2.html" onclick="hpanel.loadContent(this.href); return false;">Fragment-3</a> |
    <a href="../../samples/htmlpanel/frag-3.html" onclick="hpanel.loadContent(this.href); return false;">Fragment-4</a> |
    <a href="../../samples/htmlpanel/badurl/fake.html" onclick="hpanel.loadContent(this.href); return false;">Non-Existent-Fragment</a>
</p>
<div class="HTMLPanel" id="samplePanel">
    <p>This is some static content within an HTMLPanel container. It will disappear once content is loaded into the panel via one of the links above.</p>
    <p>Almost any block or inline element can be an HTMLPanel container.</p>
    <div class="HTMLPanelLoadingContent">
        <p>This is an example of some content that will only show when the HTML Panel loads content.</p>
    </div>
    <div class="HTMLPanelErrorContent">
        <p>This is an example of some content that will only show when the HTML Panel fails to load content.</p>
    </div>
</div>
 
<script language="JavaScript" type="text/javascript">
var hpanel = new Spry.Widget.HTMLPanel("samplePanel");
</script>
</body>
</html>