If you visit my site:
http://www.lineagejunkies.com
You'll notice I'm using navbits on non-vbulletin pages. It works almost 100% but I need help getting it fully working.
If you notice the javascripts are not working.
The method I am using is as follows:
PHP Code:
<?php
chdir('./forum');
require_once('./global.php');
$navbits = array();
$navbits[$parent] = 'LJ Blog';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
echo $navbar;
chdir('../');
?>
I've tried including:
HTML Code:
<script type="text/javascript" src="/forum/clientscript/vbulletin_global.js?v=384"></script>
<script type="text/javascript" src="/forum/clientscript/vbulletin_menu.js?v=384"></script>
In the header but it's not working correctly. Any suggestions or is this not possible?