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

  • Home
  • SEARCH
  • 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 8742587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:31:45+00:00 2026-06-13T11:31:45+00:00

My menu html is like this: <div id=navigation> <ul id=nav> <li> <asp:HyperLink ID=HyperLink1 runat=server

  • 0

My menu html is like this:

    <div id=navigation>
        <ul id=nav>
            <li>
                <asp:HyperLink ID=HyperLink1 runat=server
                    NavigateUrl=~/Home.aspx>Home</asp:HyperLink></li>
            <li>
                <asp:HyperLink ID=HyperLink2
                    runat=server NavigateUrl=~/UserSide/AboutUs.aspx>About  Us</asp:HyperLink></li>
            <li>
                <asp:HyperLink ID=HyperLink11 runat=server Products</asp:HyperLink>
                <ul>
                    <li>
                        <asp:HyperLink ID=HyperLink3 runat=server NavigateUrl=~/UserSide/Products/HomeTheatres.aspx>Home Theaters</asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID=HyperLink4 runat=server NavigateUrl=~/UserSide/Products/BurglarAlarmSystem.aspx>Burglar Alaram System</asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID=HyperLink5 runat=server NavigateUrl=~/UserSide/Products/AccessControlSystem.aspx>Access Control System</asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID=HyperLink6 runat=server NavigateUrl=~/UserSide/Products/AutomationSystem.aspx>Automation System</asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID=HyperLink7 runat=server NavigateUrl=~/UserSide/Products/CCTV.aspx>CCTV</asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID=HyperLink8 runat=server NavigateUrl=~/UserSide/Products/CentralMusicSystem.aspx>Central Music System</asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID=HyperLink9 runat=server NavigateUrl=~/UserSide/Products/PublicAddressSystem.aspx>Public Address System</asp:HyperLink></li>
                    <li>
                        <asp:HyperLink ID=HyperLink10 runat=server NavigateUrl=~/UserSide/Products/WiFiNetworks.aspx>WiFi Networks</asp:HyperLink></li>
                </ul>
            </li>
            <li>
                <asp:HyperLink ID=HyperLink12 runat=server NavigateUrl=~/UserSide/WhereToBuy.aspx>Where To Buy</asp:HyperLink></li>
            <li>
                <asp:HyperLink ID=HyperLink13 runat=server NavigateUrl=~/UserSide/Services.aspx>Services</asp:HyperLink></li>
            <li>
                <asp:HyperLink ID=HyperLink14 runat=server NavigateUrl=~/UserSide/ContactUs.aspx>Contact Us</asp:HyperLink></li>
        </ul>
    </div>

#navigation {
    background: #303030;
    display: block;
    width: 100%;
    float: left;
    max-height: 52px;
    margin: 0 0 15px 0;
}

#navigation ul,
#navigation li {
    list-style:none;
    padding:0;
    margin:0;
    display:inline;
}
#navigation ul li{
    float:left;
    position:relative;
}

#navigation ul li a { 
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    padding: 17px 25px;
    background: url(../images/navigation-divider.png) no-repeat right 50%;
}

#navigation ul li a:hover,
#current:hover 
{
    background: #72b626 !important;
    color: #fff;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

#navigation ul ul {
    position: absolute;
    display: none;
    top: 51px;
    left: 0;
    background: #303030;
    z-index: 1000;
}

#navigation ul ul li a {color: #aaa;}
#navigation ul ul li a:hover {
    color: #fff;
}

#navigation ul ul li a {
    display: block;
    width: 150px;
    margin: 0;
    padding: 9px 18px;
    font-family: Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    border-bottom: 1px solid #404040;
    background: none;
}

#navigation ul ul ul { 
    position: absolute; 
    top:0px; 
    left:100%; 
    z-index: 999;
}

#navigation ul ul ul li a { 
    border-bottom: 1px solid #404040 !important;
    border-top: 1px solid transparent;
    background: none;
}

#navigation ul ul li:last-child a, #navigation ul ul li:last-child a:hover {border-bottom: 1px solid transparent}
#navigation ul ul ul li:last-child a {border-bottom: 1px solid transparent !important}
#navigation ul li:hover>ul {opacity: 1; position:absolute; top:99%; left:0;}
#navigation ul ul li:hover>ul {position:absolute; top:0; left:100%; opacity: 1; z-index:497;}
#navigation ul li:hover > a {background: #72b626;}
#navigation ul ul li:hover > a {color: #fff;}

When I hover on Products the next list must pop out, but it’s only working when I am on my Home page. It doesn’t pop out when I am on any page inside a folder.
Any help? Please

  • 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-06-13T11:31:46+00:00Added an answer on June 13, 2026 at 11:31 am

    You should provide more information . what do you use to pop up the sub menu ? css or javascript ( jquery ) ?

    I guess , the problem is the src of your css/javascript file . It sounds it is relative and when you get to folders it can’t find the css/script file. try to make it absolute.

    if your address is like http://localhost:1000/MySiteName/ then

    try:

    <script src="/MySiteName/scripts/script.js">
    

    instead of :

    <script src="scripts/script.js">
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have one menu list like this.. </div> <ul id=menu> <li id=About>@Html.ActionLink(@MvcWebRole1.Resources.Shared.Layout.About, About, Home)</li>
The main structure of the page is like this: <html> <body> <div id=Menu> <h1>Menu</h1>
I have a navigation menu that is displayed horizontally like this. <div id=menucontainer> <ul
I have a nested ul menu structure that starts off like this: <div id=left>
I have index page with navigation menu like this man caps shirt jeans woman
I have some code in HTML and CSS where HTML looks like this: <div
My horizontal navigation bar looks like this: | MENU-ITEM 1 | MENU-ITEM-2 | MENU-ITEM
I have a navigation menu which looks like this: I have to split it
i have this html menu: <ul id='main'> <li class='active current' id='lighty'> <a href='/'>Lighty</a> <ul>
I am trying to make a menu that works like the one on this

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.