Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I prevent the Jquery menu mouseover effect?

Posted on 2014-11-20
2
Medium Priority
?
132 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

What is a Lightbox? A Lightbox is the effect you see when you click, for example, an image and the screen fades out and up pops the same image but in its full size dimensions. There are lots of Lightbox effects for jQuery. Problem is they are a…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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)
Suggested Courses

972 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