puregraf
10-13-2007, 09:16 PM
hi, i want to add an extra menu that will be displayed in the header area of the site
i have the javascript file called quickmenu.js uploaded to my server
and in a html page i have this code in between the <body></body> tags: <script type='text/javascript' src='quickmenu.js'></script>
so by loading the html page, the menu will load.
my problem is, i need to have this javascript menu load in the header template, but i dont know how to make this happen. i know there is a way to create something like placing a code ( $menu ) and then this code will load a template called menu that i create , but i tried creating this template called menu then placing the following code: $menu in the header template of vbulletin, but that didnt work, i think im doing something wrong
because the javascript code needs to be put inbetween the <body></body> tags , there is no way to do this with .php file only .html file
can someone please help
thank you
i have the javascript file called quickmenu.js uploaded to my server
and in a html page i have this code in between the <body></body> tags: <script type='text/javascript' src='quickmenu.js'></script>
so by loading the html page, the menu will load.
my problem is, i need to have this javascript menu load in the header template, but i dont know how to make this happen. i know there is a way to create something like placing a code ( $menu ) and then this code will load a template called menu that i create , but i tried creating this template called menu then placing the following code: $menu in the header template of vbulletin, but that didnt work, i think im doing something wrong
because the javascript code needs to be put inbetween the <body></body> tags , there is no way to do this with .php file only .html file
can someone please help
thank you