?
Solved

What am I doing wrong with this menu?

Posted on 2015-01-31
2
Medium Priority
?
109 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 2000 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

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
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 …
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)
Suggested Courses

750 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