This is most confusing
I made a menu system for my Main domain and it works great
Then I made another for subDomain1 it also works Great
THEN i made a menu for subDomain2 and it looks like I do not have the JS linked
Now subdomain2 displays like the others if I load it from the Main domain as do the other two, but as soon as I go to subDomain2 it fails
It is exactly the same file and I have reinstalled submenus in Subdomain2 and just added the text file to the server with the new install, but it fails
I have spent a week going over it and I cannot find a reason.
Apart from these, I don’t understand your question about subDomain1, subDomain2 and main domain. I guess you just need to make sure all your linked script and CSS files do not return 404 errors and are loaded correctly.