I want to have a menu item on the navbar called Groups. But I don't want Groups to be clickable. Instead, when I hover over Groups I want to see several sub-menu items How can I do this? Thank you!
You need to be a member of Ning Creators Social Network to add comments!
Replies
Hi there!
Unfortunately, there is no inbuilt functionality to make the main tab non-clickable. However this could be accomplished with this small code:
<script>
x$('.mainTab-item a[href*="https://itsaverytestnetwork.ning.com/members"]').click(function(e) { e.preventDefault();});
</script>
Just replace the link I have highlighted with the link that leads to the group page that you are using as teh main tab and paste the script into the custom code section "End of Page" field.
Hope this helps.
Best regards,
Ning Team.
Hi John,
Yes, you are right the "*" should be removed from the code, my bad :-(
Best regards,
Ning Team.
amazing how I have this same issue and you just answered it for me.
Hi there!
Glad to know that you have found this answer useful.
Best regards,
Ning Team.
Thanks for the code! It works! Yay!
Hi there!
You are always welcome :-)
Best regards,
Ning Team.