Solved

Magento Menu Rollover Issue

Posted on 2011-03-22
3
195 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
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…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

820 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