Thanks
I figured it out I had a syntax error and for some reason it allowed it to work on one site and not the other. I fixed it and it is working great.
That is why I am so confused. Why does it work with menu_data.js and not menu_data2.js? It might have something to do with SharePoint or a license issue. I am going to try combining both menus into menu_data.js and see if that works.
John, Thank you. However that dosen't work either. This code works it just that I want to be able to update the menu once and not have to go into every site folder and change menu_data2.js. I would have to do it hundreds of folders. Idealy I would like to use and absolute path like:
Ruth, Thank you for getting back to me. It is the same domain. I am using it with SharePoint. I have gotten menu_data.js to work but not menu_data2.js. They worked fine when they were located at the root once I moved them out menu_data2.js stopped working. I may try combining them to see if that ...
I get the menues to work great. However the minute I change the path for the js files from the root of my site up a level I am getting js errors. Here is how I like to read.