Solved

How do I prevent the Jquery menu mouseover effect?

Posted on 2014-11-20
2
112 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

I have answered several questions lately that were solved utilizing the power of jQuery's AJAX functions, so I thought I would write an article demonstrating the ease of use. Why should I use jQuery as opposed to regular JavaScript? Now I know…
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)

786 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