# # Old-fashioned pre-x4 pre-jquery way to set focus. # Don't ever use this! It will be deprecated # sooner or later. # # ===================================================================== $jqdr = vgfGet('jqDocReady', array()); if (count($jqdr) > 0) { ?> <script type="text/javascript"> $(document).ready(function() { <?php echo implode("\n", $jqdr); ?> }); </script> <?php } if (configGet('deprecated', 'Y') == 'Y') { $scriptend = ElementImplode('scriptend'); if ($scriptend != '') { ?> <script type="text/javascript"> <?php echo $scriptend; ?> </script> <?php } }
# ===================================================================== # # The jQuery libraries always come first # # NOTICE! Andromeda has its own mini-fication system, # so do not fear all of these individual files! # # ===================================================================== # The jQuery library always comes first jsInclude('clib/jquery-1.8.3.min.js', 'JQuery is distributed under the GPL license, written by a team of programmers led by John Resig, more info at http://www.jquery.com', 'Y'); $xpath = arr($_COOKIE, 'altjs', 'clib/'); $configJS = trim(configGet('js_css_debug', 'N')); if ($deprecated == 'Y') { $styles = ElementImplode('styles'); if ($styles != '') { ?> <style type="text/css"> <?php echo $styles; ?> </style> <?php } ob_start(); ElementOut('script'); $script = ob_get_clean(); if ($script != '') { ?> <script language="javascript" type="text/javascript">