I have a site with a basic horizontal dropdown menu, containing a total of 8 categories, mainly created with the use of CSS3 Menu Builder, with a bit of tweaking to the Source Code here & there.
Now, the problem has had me pulling my hair out in utter confusion. What IS happening SHOULDN’T be happening (at least that’s the way I see it).
The menu (menu.html) itself is located in the Site Root with the index.php file.
At the beginning of each page I have pasted " <?php include $_SERVER[‘DOCUMENT_ROOT’] . “/menu.html”;
?> ", with places the Menu bar neatly at the top of each page, regardless of where it’s coming from.
The problem is that all the categories are doing exactly what I would expect them to do - except for the 5th one which flatly refuses to drop down EXCEPT when linked either by the “Home” or “Contact” buttons (neither of which are drop down links, although the contacts.php is to be found in the “contacts” directory, so technically there should be any difference between that & any of the other pages once open.
If it’s of any help, when I hover over the affected Menu button, rather than dropping down, a little meeage appear “Node Operations” which I don’t have clue what it means, or even if it’s related in any way.
Each dropdown is in the format:
I know the "<li class-“topmenu”> lines are identical, as they’re all copied, & pasted, with just the category name edited.
The really confusing part is how, if I’m on either the Contact or Home page, the dropdown works fine, as do all the links within it, but from anywhere else (including from Pages within the category itself), it’s totally dea.
It seems ‘logical’ to me that as the files are all using the same Menu Include, so long as the menu’s there it should be working exactly the same way, regardless of where it’s linking from. If it wasn’t for the fact that it works from Home & Contact, I might have thought the address was wrong in the menu somewhere, but this is obviously not the case.
Can anyone offer any pointers?