Solved

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

Posted on 2014-02-10
4
240 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 33

Expert Comment

by:paulmacd
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

708 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

9 Experts available now in Live!

Get 1:1 Help Now