Hey everyone I do not post in JS to much but I have what I think is a conflicting issue or something
When i list files on my page its working make the menu work.
Then i add 2 other js files to the page along with 2 css files now when i do that works but then menu dont work.
Can anyone tell me how to find out if there is a conflicting isssue or maybe does files have to be in a certain order. I personally dont like JS but am learning it slowly.
I hopw someone can give me some sort of suggestions.
Thanks
possible conflict or order list
Moderator: General Moderators
Re: possible conflict or order list
One way to attack a problem like this is to add one file at a time until you identify the file containing the conflicting code. Then try to comment out parts of that file until you see changes and perhaps start to understand how the new stuff interferes with the menu-system.
-
KCAstroTech
- Forum Commoner
- Posts: 33
- Joined: Sat Aug 27, 2011 11:16 pm
Re: possible conflict or order list
It would appear that there is something in one of the two other js files that is causing the menu to stop working. If you could post the js files it would greatly help in identifying the problem. Otherwise try what greip suggests and add one file, run the page, if the menu works add the other file and run the page again. That way you can identify which page is causing the conflict and can narrow it down from there.
Also, we are assuming that by "menu dont work" you mean that nothing happens when you click the menu items. If you are meaning that the menu layout, style, or hover effects are broken then that would imply that there is an issue in one of the CSS files, at which point it would be best if you could post the menu html code and the css files.
Also, we are assuming that by "menu dont work" you mean that nothing happens when you click the menu items. If you are meaning that the menu layout, style, or hover effects are broken then that would imply that there is an issue in one of the CSS files, at which point it would be best if you could post the menu html code and the css files.