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 7003411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:03:53+00:00 2026-05-27T21:03:53+00:00

I implemented a javascript menu onto my site http://www.ogormanconstruction.co.uk/work If you select ‘Work’ then

  • 0

I implemented a javascript menu onto my site

http://www.ogormanconstruction.co.uk/work

If you select ‘Work’ then ‘Contact’ the two sub menus overlap

Is there a way to ensure that only the submenu that is selected is displayed?

This is the javascript I am using

<script type="text/javascript">
$(document).ready(function(){
$('#menu').rb_menu({triggerEvent: 'click', hideOnLoad: true, loadHideDelay: 0, autoHide: false, transition: 'swing'});
});
</script>

<script type="text/javascript">
$(document).ready(function(){
$('#menu2').rb_menu({triggerEvent: 'click', hideOnLoad: true, loadHideDelay: 0, autoHide: false, transition: 'swing'});
});
</script>

<script type="text/javascript">
$(document).ready(function(){
$('#services').rb_menu({triggerEvent: 'click', hideOnLoad: true, loadHideDelay: 0, autoHide: false, transition: 'swing'});
});
</script>

<div id="menu" class="menu clearfix">
  <div class="toggle">Work</div>  
  <div class="items">  
    <ul>
<li><a href="http://www.ogormanconstruction.co.uk/basingstoke-treatment-works">Basingstoke Treatment Works</a></li>
      <li><a href="">Project Two</a></li>
      <li><a href="">Project Three</a></li>
      <li><a href="">Project Four</a></li>
      <li><a href="">Project Five</a></li>
      <li><a href="">Project Six</a></li>
    </ul>
</div>
</div>

<div id="menu2" class="menu clearfix">
  <div class="toggle">Contact</div>  
  <div class="items">  
    <ul>
      <li>Mick O'Gorman<br /><a href="mailto:mick@ogormanconstruction.co.uk">mick@ogormanconstruction.co.uk</a><br />+44(0) 1234 567 890<br /><br />Barry O'Gorman<br /><a href="mailto:barry@ogormanconstruction.co.uk">barry@ogormanconstruction.co.uk</a><br />+44(0) 7515 569 086</li>
    </ul>
</div>
</div>

<div id="services" class="menu clearfix">
  <div class="toggle">Services</div>  
  <div class="items">  
    <ul>
      <li><a href="">Site Logistics</a></li>
      <li><a href="">Waste Management</a></li>
      <li><a href="">Security Services</a></li>
      <li><a href="">Traffic Management</a></li>
      <li><a href="">Multi Service Gangs</a></li>
      <li><a href="">Facilities & Accommodation</a></li>
      <li><a href="">Small Works & Maintenance</a></li>
      <li><a href="">Catering Services</a></li>
    </ul>
</div>
</div>

This is the CSS

#menu {
    position: relative;
    top: 435px;
    left: -13px;
    width: 60px;
    height: 25px;
}

#menu2 {
    position: relative;
    top: 438px;
    left: -14px;
    width: 60px;
}

#services {
    position: relative;
    top: 470px;
    left: -14px;
    width: 60px;
}

.menu .items a:hover {
    text-decoration: none;
}

.menu .items a {
    font-size: 11px;
    color: #ABA099;
    text-decoration: none;
}

.menu .items {
    left: 180px;
    width: 250px !important;
}

.menu .items li {
    width: 250px;
    line-height: 19px;
    font-size: 11px;
    color: #ABA099;
    height: 19px;
}   

.menu .items li a:hover {
    color: #4D4D4F;
}

.menu .toggle {
    color: #ABA099;
    font-weight: normal;
}

.menu .toggle-hover {
    color: #4D4D4F;
}
  • 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-27T21:03:54+00:00Added an answer on May 27, 2026 at 9:03 pm

    Move all your LI styles to your A tag. Use display:block for your A-tag.

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

Sidebar

Related Questions

I have implemented a javascript menu allowing users to change to different map views
I'm using the jQuery Simple Drop-Down Menu Plugin from http://javascript-array.com/scripts/jquery_simple_drop_down_menu/ In their example, when
I'm trying to implement a Jquery Javascript menu onto a webpage. Jquery code: $(.navigation
I've implemented a lava lamp style navigation menu (from here ) to work with
This will be implemented in Javascript (jQuery) but I suppose the method could be
I'm running some tests comparing the sha1 algorithm implemented in javascript - got from
Possible Duplicate: Can Read-Only Properties be Implemented in Pure JavaScript? I have an Object
I've implemented more complex AJAX before with javascript and PHP, but for some reason
I've implemented a Drupal website. My customer wants to write javascript scripts (to produce
I have implemented a scroll to on my test site and added a Specialities

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.