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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T07:37:28+00:00 2026-05-29T07:37:28+00:00

i work on a website and having trouble with its menu. when i hover

  • 0

i work on a website and having trouble with its menu. when i hover over the menu, its sub-menu doesnot appear. so please kindly help me to sort out this issue.

enter image description here

Full size image

http://www.mulberrydesignerkitchens.com/

i m using a piece of code to implement jQuery menu

var $jnav = jQuery.noConflict();
$jnav(document).ready(function () {
    $jnav('#menu-mainnav li').hover(

    function () {
        $jnav(this).css('background', "url('http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/nav-current-bg.png') no-repeat", 'cursor', "pointer");
        if ($jnav(this).is('#menu-mainnav li:last-child')) {
            $jnav('#menu-mainnav li:last-child').css('background', "url('http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/nav-last-bg.png') no-repeat");
        } else if ($jnav(this).is('.sub-menu li:last-child')) {
            $jnav('.sub-menu li:last-child').css('background', "none scroll #8e4d69");
        }
    }, function () {
        if (!$jnav(this).hasClass('current-menu-item')) {
            $jnav(this).css('background', "none");
        }
        if (!$jnav('#menu-mainnav li:first').hasClass('current-menu-item')) {
            $jnav('#menu-mainnav li:first').css('background', "url('http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/nav-first-bg.png') no-repeat");
        }
    })
    $jnav('#menu-mainnav li ul li').hover(

    function () {
        $jnav(this).css('background-color', "#8e4d69", 'cursor', "pointer");
    }, function () {
        if (!$jnav(this).hasClass('current-menu-item')) {
            $jnav(this).css('background', "#833b5d");
        }
    })
    if (!$jnav('.superfish li:first').hasClass('current-menu-item')) $jnav('.superfish li:first').css('background', "url('http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/nav-first-bg.png') no-repeat");
    $jnav('.superfish li.current-menu-item:last-child').css('background', "url('http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/nav-last-bg.png') no-repeat");
    if (!$jnav('.sub-menu li:first').hasClass('current-menu-item')) $jnav('.sub-menu li:first').css('background', "#833b5d");
    $jnav('.sub-menu li.current-menu-item:last-child').css('background', "#833b5d");

    $jnav('ul.superfish').superfish();
});

all the time i have to click over the navigation to see it sub-menu. plz plz plz help me to solve this issue.

thank you.

  • 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-29T07:37:29+00:00Added an answer on May 29, 2026 at 7:37 am

    You have two menu scripts fighting each other for the hover event of your menu (Suckerfish and jNav), remove one of them and your menu should be fixed.

    var $jnav = jQuery.noConflict();
    $jnav(document).ready(function () {
        $jnav('#menu-mainnav li').hover(
    
        function () {
            $jnav(this).css('background', "url('http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/nav-current-bg.png') no-repeat", 'cursor', "pointer");
            if ($jnav(this).is('#menu-mainnav li:last-child')) {
                $jnav('#menu-mainnav li:last-child').css('background', "url('http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/nav-last-bg.png') no-repeat");
            } else if ($jnav(this).is('.sub-menu li:last-child')) {
                $jnav('.sub-menu li:last-child').css('background', "none scroll #8e4d69");
            }
        }, function () {
            if (!$jnav(this).hasClass('current-menu-item')) {
                $jnav(this).css('background', "none");
            }
            if (!$jnav('#menu-mainnav li:first').hasClass('current-menu-item')) {
                $jnav('#menu-mainnav li:first').css('background', "url('http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/nav-first-bg.png') no-repeat");
            }
        })
        $jnav('#menu-mainnav li ul li').hover(
    
        function () {
            $jnav(this).css('background-color', "#8e4d69", 'cursor', "pointer");
        }, function () {
            if (!$jnav(this).hasClass('current-menu-item')) {
                $jnav(this).css('background', "#833b5d");
            }
        })
        if (!$jnav('.superfish li:first').hasClass('current-menu-item')) $jnav('.superfish li:first').css('background', "url('http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/nav-first-bg.png') no-repeat");
        $jnav('.superfish li.current-menu-item:last-child').css('background', "url('http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/nav-last-bg.png') no-repeat");
        if (!$jnav('.sub-menu li:first').hasClass('current-menu-item')) $jnav('.sub-menu li:first').css('background', "#833b5d");
        $jnav('.sub-menu li.current-menu-item:last-child').css('background', "#833b5d");
        jQuery('.lightbox').lightBox({
            imageLoading: 'http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/lightbox-ico-loading.gif',
            imageBtnClose: 'http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/lightbox-btn-close.gif',
            imageBtnPrev: 'http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/lightbox-btn-prev.gif',
            imageBtnNext: 'http://www.mulberrydesignerkitchens.com/wp-content/themes/MBK/images/lightbox-btn-next.gif'
        });
        $jnav('#logo').hover(function () {
            $jnav(this).css('opacity', '0.8');
        }, function () {
            $jnav(this).css('opacity', '1');
        });
        $jnav('#homepage-images h4').css('display', 'none');
        $jnav('ul.superfish').superfish({
            hoverClass: 'nav#primary-menu a'
        });
    });
    

    For suckerfish to work all you need is:

    <script> 
    
        $(document).ready(function() { 
            $('ul.sf-menu').superfish(); 
        }); 
    
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am doing some work on an asp website that uses Access as its
After being busy sometime with website development and constantly having trouble with making my
I'm having some trouble getting a jQuery plugin to work correctly in my MVC
I am having trouble getting the page to work. I have my form method
Im making a website on a local environment. Im having trouble getting an RSS
I'm having some trouble with the firefox and ie cache, on my website the
I'm following the guidelines for plugin authoring on jquery's website, but I'm having trouble
I am having trouble of understanding how the fb:prompt-permission work. I can have a
When I load the frontpage of the website I work for in IE it
I have to ensure the security of a asp.net website at work. They asked

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.