Disable redirect on menu section of a dropdown menu

Biswajyoti Dutt
Mega Expert

I am developing a site using CMS. I have created a site which uses a navigational menu. The menu used is a dropdown. I want to disable the redirect feature on the menu section.

On clicking any of the menu section, I have right now set the page to reload. However, I would like to disable the redirect feature and only have the menu section displaying the menu items, when I click on it.

Please help me with this.

Thanks.

1 ACCEPTED SOLUTION

Hi,



Didn't knew that you are targeting for touch devices!


You can actually achieve it by changing in UI Macro:


Goto: https://<instance-name>.service-now.com/nav_to.do?uri=sys_ui_macro.do?sys_id=1f4b69820a0a0b9230c67f5eeffc7450



All you need to do is, search for ["href="${jvar_link_url}"] and remove it.


Basically you are removing the HREF from the <a> clickable links, rest everything would work as is.


* You do not have to remove the links from menu section anymore.



Hope this help!


Mark thread as "Answered" if you are satisfied with an answer and let me know if you have any followup question for me.



-Manjul


View solution in original post

5 REPLIES 5

Sure! I'll look into it in evening and get back to you.



-Manjul