Solved

Magento Menu Rollover Issue

Posted on 2011-03-22
3
191 Views
Last Modified: 2013-09-15
Here is my issue.  I have a rollver menu in a magento build.  jquery with toggle functionality on mouseover and mouseout.  url to development site is here:

http://mackey.eellc-development.com/

the main level menu item mouseovers do not always work.  sometimes they allow you to enter the menua dn select a subitem and sometimes they do not.  the menu toggles off when you try to drag into it.  can someone enlighten me as to what could be casuing this?
0
Comment
Question by:mhoard8110
3 Comments
 
LVL 43

Accepted Solution

by:
Chris Stanyon earned 500 total points
ID: 35195516
On your top level navigation items, you are using JavaScript to toggle the menus visibility with onMouseOver and onMouseOut.

There is a 1 or 2px gap between your top level navigation and the sub menu navigation, so if you move your mouse slowly, the onMouseOut will fire when it hits this gap (because it's moused out of the top nav, which in turn will close the sub-menu. If you move your Mouse quickly, you probably won't notice it because the event doesn't have time to fire.

The gap can be closed a couple of ways

1. You could add a 2px bottom padding to your LIs - effectivley making them 2px deeper
2. You could move you sub-menus up by 2px so that it meets the Top Nav

You could use both - add a 1px padding-bottom to the top nav and take 1px off the top position of the sub nav
Method 1 - menu.css - Line 36(ish)
     padding: { 0 20px 2px }

Method 2 - menu.css - Line 53(ish)
     top: 20px

Open in new window

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

911 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