1 |
// -------------------------------------------------------------------------- |
2 |
/// IWF - Interactive Website Framework. Javascript library for creating |
3 |
/// responsive thin client interfaces. |
4 |
/// |
5 |
/// Copyright (C) 2005 Brock Weaver brockweaver@users.sourceforge.net |
6 |
/// |
7 |
/// This library is free software; you can redistribute it and/or modify |
8 |
/// it under the terms of the GNU Lesser General Public License as published |
9 |
/// by the Free Software Foundation; either version 2.1 of the License, or |
10 |
/// (at your option) any later version. |
11 |
/// |
12 |
/// This library is distributed in the hope that it will be useful, but |
13 |
/// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
14 |
/// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public |
15 |
/// License for more details. |
16 |
/// |
17 |
/// You should have received a copy of the GNU Lesser General Public License |
18 |
/// along with this library; if not, write to the Free Software Foundation, |
19 |
/// Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 |
/// |
21 |
/// Brock Weaver |
22 |
/// brockweaver@users.sourceforge.net |
23 |
/// 1605 NW Maple Pl |
24 |
/// Ankeny, IA 50021 |
25 |
/// |
26 |
//! http://iwf.sourceforge.net/ |
27 |
// -------------------------------------------------------------------------- |
28 |
//! NOTE: To minimize file size, strip all fluffy comments (except the LGPL, of course!) |
29 |
//! using the following regex (global flag and multiline on): |
30 |
//! ^\t*//([^/!].*|$) |
31 |
// |
32 |
// This reduces file size by about 30%, give or take. |
33 |
// |
34 |
//! To rip out only logging statements (commented or uncommented): |
35 |
//! ^/{0,2}iwfLog.* |
36 |
// -------------------------------------------------------------------------- |
37 |
|
38 |
// -------------------------------------------------------------------------- |
39 |
//! iwfconfig.js |
40 |
// |
41 |
// Variables a developer using IWF may wish to change to customize IWF for their app |
42 |
// |
43 |
//! Dependencies: |
44 |
//! (none) |
45 |
// |
46 |
//! Brock Weaver - brockweaver@users.sourceforge.net |
47 |
//! v 0.2 - 2005-11-14 |
48 |
//! core bug patch |
49 |
// -------------------------------------------------------------------------- |
50 |
//! v 0.1 - 2005-06-17 |
51 |
//! Initial release. |
52 |
// -------------------------------------------------------------------------- |
53 |
|
54 |
// ----------------------------------- |
55 |
// Begin: Configurable variables, IWF-wide |
56 |
// ----------------------------------- |
57 |
|
58 |
// All variables are shown with their default code! |
59 |
|
60 |
//! -- iwfcore.js |
61 |
//! set to true to enable logging. Logging simply means certain values are appended to a string. nothing is written out or communicated over the wire anywhere. |
62 |
_iwfLoggingEnabled = true; |
63 |
|
64 |
//! -- iwfgui.js |
65 |
//! (none) |
66 |
|
67 |
//! -- iwfxml.js |
68 |
//! (none) |
69 |
|
70 |
//! -- iwfajax.js |
71 |
//! if this is hardcoded to true, iwfgui.js *must* be included in all pages that reference iwfajax.js as well. |
72 |
//! if false, the "busy bar" is not shown, and in its place the window.status is updated. |
73 |
_iwfShowGuiProgress = iwfExists(window.iwfShow); // && false; |
74 |
|
75 |
|
76 |
// ----------------------------------- |
77 |
// End: Configurable variables, IWF-wide |
78 |
// ----------------------------------- |
79 |
|
80 |
// ----------------------------------- |
81 |
// Begin: Initializers |
82 |
// ----------------------------------- |
83 |
//if (window.iwfMapRollovers){ |
84 |
// iwfMapRollovers(); |
85 |
//} |
86 |
|
87 |
//if (window.iwfMapDropTargets){ |
88 |
// iwfMapDropTargets(document); |
89 |
//} |
90 |
|
91 |
if (window.iwfMapWindows){ |
92 |
iwfMapWindows(document.body); |
93 |
} |
94 |
|
95 |
if (window.iwfMapDraggables){ |
96 |
iwfMapDraggables(document.body); |
97 |
} |
98 |
// ----------------------------------- |
99 |
// End: Initializers |
100 |
// ----------------------------------- |