Extend a rudimentary dao implementation
[smart-dao.git] / gh-pages / index.html
blob11edee252c17b5638713b85a92aab29b62354893
1 <!--
2 *
3 * This is a common dao with basic CRUD operations and is not limited to any
4 * persistent layer implementation
5 *
6 * Copyright (C) 2008 Imran M Yousuf (imyousuf@smartitengineering.com)
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 3 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 -->
20 <!--
21 Document : index
22 Created on : Apr 6, 2009, 11:18:46 AM
23 Author : imyousuf
24 -->
25 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
26 <html>
27 <head>
28 <title></title>
29 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
30 <style type="text/css">
31 a {
32 text-decoration: none;
33 color: black;
35 iframe {
36 width: 999px;
37 border: none;
38 margin: 0px 0px 0px 0px;
39 padding: 0px 0px 0px 0px;
40 height: auto;
42 </style>
43 <script type="text/javascript">
44 function setSizeToFull(frame)
46 var height = frame.contentWindow.document.body.scrollHeight;
47 if(frame.contentWindow.document.getElementById('currentChanges').style.display == "none") {
48 height = 60;
50 frame.style.height = height +"px";
52 </script>
53 <script type="text/javascript">
54 function registerEvents() {
55 var currentfr = document.getElementById('changesFrame').contentWindow.document.getElementById('currentChangesFrame').contentWindow;
56 if (currentfr.addEventListener) {
57 currentfr.addEventListener("resize", readjustIframe, false)
59 else if (currentfr.attachEvent){
60 currentfr.detachEvent("onresize", readjustIframe);
61 currentfr.attachEvent("onresize", readjustIframe);
63 var changesLink = document.getElementById('changesFrame').contentWindow.document.getElementById('currentChangesLink');
64 if (changesLink.addEventListener) {
65 changesLink.addEventListener("click", readjustIframe, false)
67 else if (changesLink.attachEvent){
68 changesLink.detachEvent("onclick", readjustIframe);
69 changesLink.attachEvent("onclick", readjustIframe);
73 function readjustIframe(loadevt) {
74 setSizeToFull(document.getElementById('changesFrame'));
76 </script>
77 </head>
78 <body onload="registerEvents()">
79 <h1>${project.name} - ${project.version}</h1>
80 <h2>Summary</h2>
81 <h2>Features</h2>
82 <h2>Announcements</h2>
83 <h2>Changes</h2>
84 <iframe src="./changes/index.html" id="changesFrame" style="height: 60px;"></iframe>
85 <a href="./site/index.html"><h2>Code Site</h2></a>
86 </body>
87 </html>