Solved

Magento Menu Rollover Issue

Posted on 2011-03-22
3
197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
This article discusses how to create an extensible mechanism for linked drop downs.
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.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

688 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