Solved

Magento Menu Rollover Issue

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

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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.
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

747 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

12 Experts available now in Live!

Get 1:1 Help Now