Solved

How do I prevent the Jquery menu mouseover effect?

Posted on 2014-11-20
2
116 Views
Last Modified: 2014-11-20
I am using the default jquery menu (v1.9.2).  I have the menu working, but I need to disable the mouseover effect that causes the LI element to change background properties and retain the menu opening.

In other words, I want the LI element to remain static, but to open the secondary menu when the user mouses over it.

Here's my sample code: http://jsfiddle.net/81mf4fgt/
0
Comment
Question by:sscal
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 40456485
Add to your custom css file

a.ui-state-focus {
    background:none !important
}
a.ui-corner-all {
    border:none !important
}
.ui-menu .ui-menu-item a {
    margin:auto !important
}

Open in new window

0
 
LVL 1

Author Closing Comment

by:sscal
ID: 40456499
Thanks for your help.  This is a quick and simple solution.
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question