Solved

what's wrong with this menu when the screen is resized to half

Posted on 2014-02-10
4
243 Views
Last Modified: 2014-02-11
Hi,

here is the link to my website.

*URL deleted at request of Asker by Netminder 11 Feb 2014*

if you open the browser and resize the browser to half and try to hover over the last menu option like sale, you will see that the drop down sub menu is not under sale but its moves.

Its only happens when the browser is resized. Not sure what i am missing

Thanks
0
Comment
Question by:niceoneishere
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 39848492
I'm guessing the drop-down portion is set to an absolute location rather than a relative one.   Just a guess.
0
 
LVL 1

Author Comment

by:niceoneishere
ID: 39848512
Yes that is correct, but If I remove the absolute position for the style #menu ul ul it mess up the entire nav when hovered over
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39848546
In custom.js
Change
winWidth = $(window).width(),

to
winWidth = $(document).width(),
0
 
LVL 1

Author Closing Comment

by:niceoneishere
ID: 39852098
Thanks
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

809 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