XOOPS Cube Legacy base repository
Revision | 9806ad65931297e5751d268dc5f433974a0436d9 (tree) |
---|---|
Zeit | 2012-08-16 19:00:42 |
Autor | HIKAWA Kilica <kilica.hikawa@gmai...> |
Commiter | HIKAWA Kilica |
Merge pull request #23 from nao-pon/admin_theme_patch
legacy: admin theme onload func switch to onready
@@ -143,8 +143,23 @@ function ccOpenCid() | ||
143 | 143 | // ]]> --> |
144 | 144 | </script> |
145 | 145 | <{$xoops_module_header}> |
146 | +<script type="text/javascript"> | |
147 | +<!-- <![CDATA[ | |
148 | +if (typeof jQuery != 'undefined') { | |
149 | + jQuery(function($){ | |
150 | + ccToggle(cid); | |
151 | + onloadEffect('leftcolumn', 'minimizelc', 'lcimage'); | |
152 | + }); | |
153 | +} else { | |
154 | + document.body.onload = function(){ | |
155 | + ccToggle(cid); | |
156 | + onloadEffect('leftcolumn', 'minimizelc', 'lcimage'); | |
157 | + } | |
158 | +} | |
159 | +// ]]> --> | |
160 | +</script> | |
146 | 161 | </head> |
147 | -<body onload="ccToggle(cid);onloadEffect('leftcolumn', 'minimizelc', 'lcimage');"> | |
162 | +<body> | |
148 | 163 | |
149 | 164 | |
150 | 165 | <div id="container"> |