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