javascript before closing body tag
Hi
I've got javascript included automatically right before the closing body tag and it conflicts with my header-included scripts. I don't know what this does or how it works, whether I can remove it or not and how. Any documentation on this?
Thanks
Comments
I'm adding fancybox and usually I get it up and running within 5 minutes but this time ... it won't work.
The funny thing is, normally when clicking links that are attached to fancybox and the thing is malconfigured you still get a loading link - not here though: nothing moves when clicking.
Any configs I need to check?
Thanks
(edit: front page, not admin section)
I realize that I need to give more info:
- created assets/thirdparty/fancybox with all the stuff in it
From global.php:
$vars['js_jquery'] = array('jquery-1.6.2.min.js', 'jquery.selectbox-0.6.1.js'); $vars['fancybox'] = array( base_url() .'assets/thirdparty/fancybox/jquery.mousewheel-3.0.4.pack.js', base_url() .'assets/thirdparty/fancybox/jquery.fancybox-1.3.4.pack.js', base_url() .'assets/thirdparty/fancybox/jquery.fancybox-1.3.4.css' ); $vars['js_after'] = array('functions.js');
header.php:
<?php echo css($css); ?> <?php echo js($js_jquery); ?> <?php echo js($fancybox); ?> <?php echo js($js_after); ?>
Also, if the jquery library is called twice, that can cause issues.