Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1046769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:11:53+00:00 2026-05-16T16:11:53+00:00

I have dropdown menu item (pin this site) that i need to hide it

  • 0

I have dropdown menu item (“pin this site”) that i need to hide it or hide menu item
itself (“My Network”).

alt text

When I saw viewsource on page, I got below code.

<a class="zz1_TopNavigationMenu_1 ms-topnav zz1_TopNavigationMenu_3 
ms-topnavselected zz1_TopNavigationMenu_9" href="http://mynetworkqa.spe.org" 
style="border-style:none;font-size:1em;">My Network</a>


<a class="zz1_TopNavigationMenu_1 ms-topNavFlyOuts zz1_TopNavigationMenu_6" 
href="javascript:__doPostBack(,
'ctl00$PlaceHolderTopNavBar$PlaceHolderHorizontalNav$topSiteMap''Pin')" 
style="border-style:none;font-size:1em;">Pin this site</a>

How can I hide menu item?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:11:54+00:00Added an answer on May 16, 2026 at 4:11 pm

    If you gave your links ids, then it would be much easier to hide them.

    Something like $('#myLinkToHide').hide(); ... <a id='myLinkToHide'></a>

    However since the source you provided doesn’t have ids, the following may work for you. Save this as a .html file for an example.

    <html>
      <head>
        <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
        <script type="text/javascript">
            $(function(){
                $('a').each(function(){
                    if($(this).html() == 'My Network')
                    {
                        $(this).hide();
                    }
                });
            });
        </script>
      </head>
      <body>
        <a class="zz1_TopNavigationMenu_1 ms-topnav zz1_TopNavigationMenu_3 ms-topnavselected zz1_TopNavigationMenu_9" href="http://mynetworkqa.spe.org" style="border-style:none;font-size:1em;">My Network</a>
        <a href='#'>Not Hidden</a>
      </body>
    </html> 
    

    EDIT

    It’s also hard to tell if any of the classes are unique to the links. That’s why I’m using their content to find the correct one to hide.

    If you happen to find a unique class, you can use $('.zz1_TopNavigationMenu_3').hide(); where zz1_TopNavigationMenu_3 is your class name.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a dropdown menu that is filled by a mysql database. I need
I have dropdown menu..which is dynamic.. How can get value of the last item
I have an HTML item for a 'drop down menu', structured like this... <li
I have a horizontal menu. The markup looks like this: <ul class=menu> <li>Item 1</li>
I have an asp:Menu and it contains a top level menu item that points
I currently have a CSS <ul><li> dropdown menu that uses the following code. Unfortunately
So I have a dropdown menu in a ribbon with contents that can be
I have a dropdown menu in my ASP .NET 2.0 C# page and when
Background: I have a dropdown menu that basically works the same as the one
I have an XML Sitemap like this <?xml version=1.0 encoding=utf-8 ?> <Menu> <MenuItem Name=Page

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.