I am attempting to install the same dropdown menus that are on this site, so I can use them as a header in my UBB. I found them in a post somewhere on this site.
Anyway, I got them to work on the MAIN page, but if I attempt to put the code to load the HM_Loader.js in the header for UBB, outside of the home directory, they do not show up. I have tried to direct the javascript code (posted below) to look for the HM_Loader.js file in the home dir by putting a / in front of it, putting the linux absolute path in front of it, and put the full web address to the file, but for some reason, any page that exists outside of the main website directory will NOT display the menu.
-----------CODE------------
-----------CODE------------
I assume that this is the line of code that calls HM_Arrays.js, which is the file that I edited to make my menus match my site in the first place.
What I have found is that it seems as if the menus ONLY work if the html file you display the menus on is in the SAME directory as all of the .js files. Basically, I don't know how to get it to look for the .js files in a seperate directory.
Is there another location where it specifies the location of the HM_Arrays.js?
I was wondering if, perhaps, you guys here at ubbdev encountered the same problem while installing them yourselves.
Any help is appreciated, and thanks in advance. =)