Hi Martin,
Martin wrote:Sometimes it's not easy easy to describe technical problems in english, sorry
Not to worry. Your written English is better than many native English speakers.
My main menu items should not be clickable, but they should behave like an normal menu item: If a submenu-item is selected, the main menu should also change the color (Font, background). This is one of the reasons, i can't remove the url-Parameter.
OK. My first thought is that the descriptions I gave earlier, should do exactly that, assuming your
pagecolor and
pagebgcolor properties are set for the main menu's style. I checked your code, and it does appears that you've set pagecolor and pagebgcolor in your NavMainStyle. That got me wondering why I don't actually see them applied on your test site.
So, I made a quick test of my own and... it didn't work (IE6/NS7.1/Win2k). My test behaved as if pagecolor and pagebgcolor were not defined, and they definitely were. I did this test using v5.07 of the menu scripts (which is what you are currently using). Out of curiosity, I backed off to v5.0 5 (I don't have 5.06), and my test worked. Here they are, if you want to see:
v5.07 test v5.05 test
So, obviously something is different in the page matching between v5.05 and v5.07. I see in the
version information notes that there were changes made to the "current page highlighting" in both 5.06 and 5.07. I have no idea what changes were made, so I don't know if my "failed" test with 5.07 is by design (i.e., it now works differently) or is the result of a bug.
I believe that if the page matching worked as it did in 5.05, you would have a simple solution. I'll post a topic reporting this. If you still have 5.05, you might want to try it, at least to see if the proposed solution is a viable one.
Kevin