Solved

Select Box Form Element Bug in Navigation Div Menu

Posted on 2011-03-14
4
202 Views
Last Modified: 2012-06-21
I'm using a div menu (MegaMenu) that when you hover over the anchor tag CSS tells the underlying div to change its left attribute to 0px thus showing the menu. (Its -9999px by default which pushes it off page)

I wanted to include a drop down select box within the menu for a search system we've implemented. The form/select boxes work fine in all browsers except IE. In IE when you click on the select drop down box and begin to scroll down the list the div assumes you're no longer hovering over it, but rather the select box. The whole menu then disappears.

I need the form drop down box to behave like its part of that menu in IE7-8 so the menu doesn't disappear before something is selected.

0
Comment
Question by:GalaxiePete
[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
  • 2
  • 2
4 Comments
 
LVL 20

Expert Comment

by:Mark Brady
ID: 35132753
Can you post your code? Is the selectbox totally inside the menu div?
0
 

Author Comment

by:GalaxiePete
ID: 35132990
http://fullertontool.com/fullaccess/series/search

I've pulled the CSS and its available right in the source for that page. If you highlight over End Mills on the top bar you'll see the select pulldowns I'm talking about.
0
 
LVL 20

Accepted Solution

by:
Mark Brady earned 500 total points
ID: 35133352
Well that answered my question. Weird huh? If you ujse the keyboard by tabbing to the select boxes you can change them with arrow keys and the menu dropdown stays on screen. Only if you click on the select boxes everything dissapears apart from the dropdown options. I don't see anything wrong in your code but let's see if someone else can spot any errors. Quick question. Why do you have the menu titles as links?
0
 

Author Comment

by:GalaxiePete
ID: 35133668
Yeah, I was a bit confused myself. :)

They were left as links in the event they wanted them linking to a "parent page". I could take them out now as we are no longer going in that direction. Good call.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

738 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