Solved

How do I prevent the Jquery menu mouseover effect?

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

DOM Attributes and Properties treatment with jQuery 1.6 by Ivo Stoykov jQuery (http://jquery.com/) 1.6 introduces .prop() (http://api.jquery.com/prop/) and .removeProp() (http://api.jquery.com/removeProp/) methods which allow modifying or removi…
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now