Have you tried debugging your way through? Have you checked the generated HTML source to see if there actually are items in the dropdown-menu ul?
Which Umbraco version are you using? Looks like 7.x - so there are much easier ways to do some of what you do. Like @CurrentPage.Site() to get root node.
You are including both bootstrap.js and bootstrap.min.js, that might mess things up, as well as including what looks like two versions of jQuery?
Also, you are including (the jquery-2.2.0.js) jQuery after bootstrap.js, that might also cause problems.
How to add (dropdown-toggle) ONLY for items that has sub items
Have you tried debugging your way through? Have you checked the generated HTML source to see if there actually are items in the dropdown-menu ul?
Which Umbraco version are you using? Looks like 7.x - so there are much easier ways to do some of what you do. Like @CurrentPage.Site() to get root node.
You are including both bootstrap.js and bootstrap.min.js, that might mess things up, as well as including what looks like two versions of jQuery?
Also, you are including (the jquery-2.2.0.js) jQuery after bootstrap.js, that might also cause problems.
Please Refer this link for more understanding :
https://stackoverflow.com/questions/36014354/dropdown-menu-in-umbraco-cms
is working on a reply...