Littlebit
05-06-2003, 03:19 PM
I'm trying to add a bbmenu script for drop down menus to the header buttons and finally got the menu to show up, but am now getting a parse error in my global.php causing the simple header table not to show.
I was wondering if I need to edit global to accomodate this type of script being added or if anyone has done this before and knows the trick.
Here's the error:
parse error, expecting `']'' in global.php(317) : eval()'d code on line 5
this is the part of the script I added to header include:
<bb:menulib c="0">
<script type="text/javascript" src="GeneratedItems/menumachine.js"></script>
</bb:menulib>
And then I added the rest of the bbmenu to the footer (it has to be at the end of a page) So I have the menu working and popping up right where it needs to be...just the header disappeared with an error in the global. Any ideas? Is it the script in header insert thats making the global.php header part confused?
I was wondering if I need to edit global to accomodate this type of script being added or if anyone has done this before and knows the trick.
Here's the error:
parse error, expecting `']'' in global.php(317) : eval()'d code on line 5
this is the part of the script I added to header include:
<bb:menulib c="0">
<script type="text/javascript" src="GeneratedItems/menumachine.js"></script>
</bb:menulib>
And then I added the rest of the bbmenu to the footer (it has to be at the end of a page) So I have the menu working and popping up right where it needs to be...just the header disappeared with an error in the global. Any ideas? Is it the script in header insert thats making the global.php header part confused?