Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7023893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:46:09+00:00 2026-05-27T23:46:09+00:00

I can’t test my website because I don’t have an iPad, but the guy

  • 0

I can’t test my website because I don’t have an iPad, but the guy I’m working for went to an apple store yesterday to try it out and had strange behavior.

So it’s a horizontal scrolling website, and if you click on the navigation it uses jquery to scroll to the element referring to the link. This works fine in all browsers, with no console errors in firefox, chrome, or IE9.

Problem on the iPad though, is that clicking a link the first time works fine – it scrolls just as it should. But after that, clicking links no longer works. He said it would move just a few pixels then stop.

I signed a non-disclosure agreement so I can’t show the website, but here is the code I tied to navigation. Is there anything wrong here? Has anyone experienced this sort of problem on the iPad?

$("#navhome, #logo").bind('click', function(event) {
    // Home button and the page logo send you to the #home element
    event.preventDefault();
    scrollToID($("#home"), this);
});

function scrollToID(id, nav) {
    $("html, body").stop();
    xtarget = id.position().left;
    $("html, body").animate({scrollLeft: xtarget}, 'slow');
}

I mean, this seems like the way to do it. Why would the ipad give any trouble?

I’ll keep browsing google for now, I don’t expect much without being able to link the page. :/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:46:10+00:00Added an answer on May 27, 2026 at 11:46 pm

    Coming back to this issue, after receiving an email from someone with a similar issue.

    The problem I had was that I made the entire website stretch the body of the page, which worked fine with iPad’s touch-controls (like swiping). However, by doing this I needed to move the navigation box either with javascript (jagged) or position: fixed (smooth, but poor mobile support).

    Then a bug in iOS5 arose, I’m still not sure on the cause but it’s related to scrolling via jQuery animation and using a moving div with clickable elements during movement.

    The navigation would become unclickable until the animation stops, but sometimes it would become unclickable even after the animation, until you interacted with the website by scrolling, zooming, etc. Obviously, this workaround is not user-friendly.

    My final solution was to instead wrap the contents in a div that is sized to the width of the browser. As you might know, iPad and similar touch devices do not have native touch support for scrolling a div, just limited scrolling.

    There is probably a better solution out there somewhere, but for now, we’re just wrapping it in a div so that our navigation doesn’t have to move at all. Only our content moves, contained within itself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can I order my users in the database, so I don't have to say
Can I load admob ad using AsyncTask ? I have tried it but I
I have a jquery bug and I've been looking for hours now, I can't
Can someone guide me on a possible solution? I don't want to use /bin/cp
Can't figure out how to do this in a pretty way : I have
Can we change the color of the divider? Apple documentations says, that we can
Can you have submenus with the top level set to checkable in WPF? I
Can someone please explain to me in a simple way why constants don't matter
Can I implement Groovy's getProperty in Java Objects I have a mixed Java/Groovy project,
can anyone help me in trying to check whether JavaScript is enabled in client

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.