Solved

What am I doing wrong with this menu?

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

705 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