Solved

What am I doing wrong with this menu?

Posted on 2015-01-31
2
99 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

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 …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

689 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