source: trunk/src/ajax/isidorus.html @ 27

Last change on this file since 27 was 27, checked in by lgiessmann, 16 years ago

fixed some problems in the ajax and in the json interface; changed the json/ajax error handling of the server, so there will be sent the condition's content as error message to the client - therefor every json-handler has a case-handler

File size: 2.9 KB
Line 
1<!-- ======================================================================= -->
2<!--  Isidorus                                                               -->
3<!--  (c) 2008-2009 Marc Kuester, Christoph Ludwig, Lukas Giessmann          -->
4<!--                                                                         -->
5<!--  Isidorus is freely distributable under the LGPL license.               -->
6<!--  This ajax module uses the frameworks PrototypeJs and Scriptaculous,    -->
7<!--  both are distributed under the MIT license.                            -->
8<!--  You can find a detailed description in trunk/docs/LGPL-LICENSE.txt and -->
9<!--  in trunk/src/ajax/javascripts/external/MIT-LICENSE.txt.                -->
10<!-- ======================================================================= -->
11
12
13<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
14<html xmlns="http://www.w3.org/1999/xhtml">
15  <head>
16    <title>isidorus</title>
17    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
18
19    <!-- includes all necessary css-files -->
20    <link rel="stylesheet" type="text/css" href="css/main.css"/>
21    <link rel="stylesheet" type="text/css" href="css/home.css"/>
22    <link rel="stylesheet" type="text/css" href="css/navi.css"/>
23
24    <!-- error handling for javascript code -->
25    <script language="JavaScript" type="text/javascript"> <!--
26    var __DEBUG__ = true;
27       
28    function onError(message, url, line)
29    {
30        window.alert("onError in \"" + url + "\" at line: "  + line + "\n" + message);
31        return true;
32    }
33
34    if(__DEBUG__ === true){
35        window.onerror = onError;
36    }
37
38    // -->
39    </script>
40
41   
42    <!-- includes the prototype and scriptaculous frameworks -->
43    <script language="JavaScript" type="text/javascript" src="javascripts/external/prototype/prototype.js"></script>
44    <script language="JavaScript" type="text/javascript" src="javascripts/external/scriptaculous/scriptaculous.js"></script>
45
46    <!-- includes own javascript files -->
47    <script language="JavaScript" type="text/javascript" src="javascripts/constants.js"></script>
48    <script language="JavaScript" type="text/javascript" src="javascripts/make_fragment_node.js"></script>
49    <script language="JavaScript" type="text/javascript" src="javascripts/edit_topic.js"></script>
50    <script language="JavaScript" type="text/javascript" src="javascripts/home.js"></script>
51    <script language="JavaScript" type="text/javascript" src="javascripts/navi.js"></script>
52  </head>
53
54  <body>
55    <div id="page">
56      <div id="navi">
57        <span id="home" class="naviElem clickable">home</span>
58        <span id="searchTopic" class="naviElem clickable">search topic</span>
59        <span id="editTopic" class="naviElem clickable">edit topic</span>
60        <span id="createTopic" class="naviElem clickable">create topic</span>
61      </div>
62      <div id="content" style="border: red solid 1px;">
63      </div>
64    </div>
65  </body>
66</html>
Note: See TracBrowser for help on using the repository browser.