Suppose that i have a 4-level deep sharepoint top navigation menu, and i want to replace the menu item links in second and third level with # (href='#')
How can i achieve this? With ajax? And how?
This works on my test environment to change all all my dropdown links to '#'. I only had 2 levels though so you'll have to tweak accordingly. It should give you an idea though...
By default, the global navigation (top nav) is controlled through the Navigation options in Site Settings. To accomplish this, try this:
This this in place, everything that is defined as a Heading in the navigation will be visible but not clickable.