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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:48:10+00:00 2026-06-11T21:48:10+00:00

I have a problem with my app. I’m working with Cordova 1.8.1 on Android

  • 0

I have a problem with my app. I’m working with Cordova 1.8.1 on Android 2.3.3.
I’m trying to use scroll in a div. But it doesn’t works. But works with Android 4.0.3.
I add that this div is empty but with ajax i update and add more content.
This is my code:

<div id="openDataContent" style="width: 100%;height:70%; margin:5px 0 0 0; overflow: scroll;-webkit-overflow-scrolling: touch;  box-shadow: 2px 0px 2px #1b698e;border:solid;"></div>
  • 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-11T21:48:11+00:00Added an answer on June 11, 2026 at 9:48 pm

    The overflow property is not working properly in Android devices before Android 3.0. But it is solved from the Android 3.0 or later.

    I also had this issue while I was developing an application.

    This issue was solved by using a button and animating the element’s margin-top property so that it is changed to negative value, therefore creating a scroll effect.

    First add a Up and Down buttons in the HTML page

    <a href="#" onclick="ScrollDiv('UP')" style="text-decoration:none;"><img id="ScrollUp" src="images/UpButton.png" style="position:absolute;float:right;top:30%;right:5px;z-index:100;" /></a>
    <a href="#" onclick="ScrollDiv('DOWN')" style="text-decoration:none;"><img id="ScrollDown" src="images/DownButton.png" style="position:absolute; float:right;top:80%;right:5px;z-index:100;" /></a>
    

    Than add the function ScrollDiv() in javasctipt

    function ScrollDiv(where)
    {
        if(where != '' && where == 'UP')
        {
            $("#showAnim").css("margin-top", '-=100');
        }
        else
        {
            $("#showAnim").css("margin-top", '+=100');
        }
    }
    

    In this code, by clicking the UP button will change the margin-top to negative value therefore creating the scroll effect. Same goes for Down Button.

    You can also add conditions for enabling or disabling the Up and Down Button if the limit of scrolling is reached.

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

Sidebar

Related Questions

I have a problem - my app works fine on the simulator, but on
i have problem with my android app, i searched but cannot find answer, i
I'm trying to write a simple Spring AOP app, but I have problem with
I have a problem regarding Android App. I have created an application that download
I have a problem running an app on iOS 5 which works fine on
I have a problem with an app i'm currently making for Android phones. I
I have problem in my heroku app, I am trying to send email using
I have a problem integrating my app with facebook. I am trying to read
I have a strange problem with my iPhone app. I use geolocation and push
I have a problem with my app, which run well on the simulator but

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.