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 6532003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:56:48+00:00 2026-05-25T09:56:48+00:00

In a web browser, I am trying to pan an image from left to

  • 0

In a web browser, I am trying to pan an image from left to right, such as a panorama.

I am using jQuerymobile and its normalized events for vmousedown, vmousemove and vmouseup to detect a user touching the browser. I’d like to move the image touched left and right to view around the panorama smoothly.

All 3 events work fine. I keep track of the number of vmousemove events that happen and almost as many fire as the desktop. Every time the vmousemove event fires I update the images position. Despite seeing the event fire dozens and dozens of times, the javascript moving the image does not move once per event as intended. It does on the desktop, but not on the Android Tablet. The image moves approximately 2 or 3 times per second despite almost 30 movement events firing off.

I have tried this with small images (200×100) as well as large images (1380×550) and both perform identically poor only on my tegra 2 dual core Android Tablet.

On a mobile android phone (HTC Evo 4G snapdragon 1ghz) or iPad (1 and 2) the image moves smoothly where you touch. ONLY on an Asus Transformer (latest firmware and OS) does this excessive bogging happen.

Has anyone figured out why DOM manipulation happens so slowly on the default browser on an Android tablet running 3.x?

I have used a pre-defined JS reference to the object to manipulate the $(obj).css(‘left’,’xxx’); and obj.style.left = ‘###px’; and neither perform better. I’m trying to figure out why the performance is terrible. Ideas?

  • 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-25T09:56:49+00:00Added an answer on May 25, 2026 at 9:56 am

    Fastest method to move things around on mobile devices (Android, iOS, Blackberry) is by using 2D CSS3 transforms. I’ve described this quite extensive in this blogpost (but it’s in Dutch 🙂 ). It took me two weeks or something and a lot of experimenting (Canvas, normal DOM, CSS, etc. etc.), but the result is quite smooth on all modern mobile devices. We use it for the photo gallery on our mobile site.

    This is basically the only way to get moving things smooth on all devices:

       scroller.self.css({ 
            '-webkit-transform': 'translate3d(' + -x + 'px,0px,0px)', 
            '-webkit-transition-duration': '0ms', 
            '-webkit-backface-visibility': 'hidden', 
            '-webkit-transition-property': '-webkit-transform' 
        }); 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are trying to load a pdf file in web browser using pdfobject javascript
I am trying to display an image file in web browser via the Apache
I'm an iPhone application developer, I'm trying to develop the WEB BROWSER using the
I'm trying to build a web browser using PyGTK and PyWebKit However, I'm pretty
I am trying to emulate a web browser in order to execute JavaScript code
I am trying to figure out how the search tool in a web browser
I am using a web browser in my current project and currently I'm using
I am trying to login on my website using MyspaceId running on Android web
How much layout space does a web-browser allocate when initially rendering: <img src=image.jpg />
I'm using WebKitDotNet to simulate and automate a web browser. This is really nifty

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.