Solved

What am I doing wrong with this menu?

Posted on 2015-01-31
2
91 Views
Last Modified: 2015-02-02
Head out to http://hiddenriveralpacas.com/mobile/index.php and you'll see the mobile version of a site I'm working on. The problem is the menu.

Using your mobile device, if you head out to brucegust.com, you'll see the same menu operating correctly. In other words, it's not hanging off the side for some unknown reason.

The screenshot I have is the same code running correctly on my localhost.

So, what is it that's different? Why is one looking good and the other one isn't?

The menu is based on some Javascript which you can see referenced in the header:

<!-- jQuery library - Please load it from Google API's -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js" type="text/javascript"></script>

<!-- jQuery UI Widget and Effects Core (custom download)
You can make your own at: http://jqueryui.com/download -->
<script src="js/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script>

<!-- Latest version (3.0.6) of jQuery Mouse Wheel by Brandon Aaron
You will find it here: http://brandonaaron.net/code/mousewheel/demos -->
<script src="js/jquery.mousewheel.min.js" type="text/javascript"></script>

<!-- jQuery Kinectic (1.5) used for touch scrolling -->
<script src="js/jquery.kinetic.js" type="text/javascript"></script>

<!-- Smooth Div Scroll 1.3 minified-->
<script src="js/jquery.smoothdivscroll-1.3-min.js" type="text/javascript"></script>

What am I missing? Why is it way off the side of the page?

Looking forward to hearing some ideas.
0
Comment
Question by:brucegust
2 Comments
 
LVL 5

Accepted Solution

by:
sno0401 earned 500 total points
ID: 40582457
Looking at the console, I can see that the following file is failing to load which looks like it may have some styles to prevent the overflow of the menu items -> http://hiddenriveralpacas.com/mobile/css/smoothDivScroll.css 

If that file doesn't have the necessary styling, you could add the following to .scrollableArea

width: 350px;
height: 20px;
overflow: hidden;
0
 

Author Comment

by:brucegust
ID: 40583805
Thanks sno0401!

It's hard to believe that something that obvious would've cost me so much time and frustration, but sometimes all it takes is another set of intelligent eyes to look over your shoulder!

Thanks!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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 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.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

831 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