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

  • Home
  • SEARCH
  • 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 8164139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:14:59+00:00 2026-06-06T19:14:59+00:00

I built a site that uses the $(window).scroll() jQuery event to programmatically animate in

  • 0

I built a site that uses the $(window).scroll() jQuery event to programmatically animate in some elements. Since iOS doesn’t support this event in the same way, the experience sucks on an iPad.

How do detect the browser in Javascript so I can manage the experience in different browsers? Is this right approach?

  • 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-06-06T19:15:01+00:00Added an answer on June 6, 2026 at 7:15 pm

    You are asking the wrong question John. Browser detection and browser specific code is evil. It makes your project complex and hard to handle in the future. Read more about feature detection. There are also jQ plugins that help you minic iOS scrolls like this one

    Easily like this you can add native scrolling:

        var scrollContent,
        scrollNav;
    
    function loaded() {
        scrollContent = new iScroll('contentWrapper');
        scrollNav = new iScroll('navWrapper');
    }
    
    document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);
    
    document.addEventListener('DOMContentLoaded', loaded, false);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a very complicated site built on CSS3 that has html elements 3d-transformed,
I am running a PHP site that uses Ajax and jQuery as well. The
I built a really basic php/mysql site for an architect that uses one 'projects'
I have a site built in ASP.NET MVC and uses heavy jQuery client interaction
I am developing a site that uses the built in account model / controller
I have a wordpress site that was built for me by a developer some
I built a django site last year that utilises both a dashboard and an
I'm working on a fairly large web site built in PHP that will potentially
I'm managing a website that is built from the ground-up in PHP and uses
I've writing a Django site that uses two different databases. One is the local,

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.