Solved

Magento Menu Rollover Issue

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
This article discusses how to create an extensible mechanism for linked drop downs.
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…
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 …

739 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