Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How do I prevent the Jquery menu mouseover effect?

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
The most up-to-date version of this article is on my Blog https://iconoun.com/blog/
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…
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

564 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