Solved

What am I doing wrong with this menu?

Posted on 2015-01-31
2
89 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
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 …

948 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

19 Experts available now in Live!

Get 1:1 Help Now