author | Dan |
Mon, 05 Nov 2007 20:00:41 -0500 | |
changeset 201 | c26308d81882 |
parent 178 | fd0e9c7a7b28 |
permissions | -rw-r--r-- |
1 | 1 |
// Some final stuff - loader routines, etc. |
2 |
||
3 |
function mdgInnerLoader(e) |
|
4 |
{ |
|
5 |
jws.startup(); |
|
6 |
if(window.location.hash == '#comments') ajaxComments(); |
|
7 |
window.onkeydown=isKeyPressed; |
|
8 |
window.onkeyup=function(e) { isKeyPressed(e); }; |
|
9 |
Fat.fade_all(); |
|
10 |
fadeInfoBoxes(); |
|
11 |
//initTextareas(); |
|
12 |
buildSearchBoxes(); |
|
13 |
jBoxInit(); |
|
14 |
if(typeof (dbx_set_key) == 'function') |
|
15 |
{ |
|
16 |
dbx_set_key(); |
|
17 |
} |
|
178
fd0e9c7a7b28
Automatic set of state on Oxygen sidebar portlets should work now; reimplemented parts of the template parser (again) to workaround some PHP/PCRE issues and add support for parser plugins
Dan
parents:
57
diff
changeset
|
18 |
initSliders(); |
1 | 19 |
runOnloadHooks(e); |
20 |
} |
|
21 |
if(window.onload) var ld = window.onload; |
|
22 |
else var ld = function() {return;}; |
|
23 |
function enano_init(e) { |
|
24 |
ld(e); |
|
25 |
mdgInnerLoader(e); |
|
26 |
} |
|
27 |
||
57
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
parents:
1
diff
changeset
|
28 |
if ( typeof(KILL_SWITCH) == 'boolean' && !KILL_SWITCH ) |
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
parents:
1
diff
changeset
|
29 |
{ |
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
parents:
1
diff
changeset
|
30 |
window.onload = enano_init; |
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
parents:
1
diff
changeset
|
31 |
} |
b354deeaa4c4
Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
Dan
parents:
1
diff
changeset
|
32 |