Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
some issues with div scroll
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Adam  
View profile  
 More options Feb 28 2012, 3:05 am
From: Adam <adam....@gmail.com>
Date: Tue, 28 Feb 2012 00:05:32 -0800 (PST)
Local: Tues, Feb 28 2012 3:05 am
Subject: some issues with div scroll
I have a layout with three divs.like below:
<div id="header">header<div>
<div id="content">content</div>
<div id="footer">footer</div>

header always on top and footer always on bottom.

I set style overflow:auto to the content layer.

Although I have enough stuff in the content layer, the scroll cannot
work.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
akanga...@gmail.com  
View profile  
 More options Feb 28 2012, 3:53 am
From: akanga...@gmail.com
Date: Tue, 28 Feb 2012 08:53:51 +0000
Local: Tues, Feb 28 2012 3:53 am
Subject: Re: [PhoneGap] some issues with div scroll
Have you try iScroll? I think it's the solution for your problem.

Regards

Sent from my BlackBerry®
powered by Sinyal Kuat INDOSAT


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kerri Shotts  
View profile  
 More options Feb 28 2012, 4:12 pm
From: Kerri Shotts <kerrisho...@gmail.com>
Date: Tue, 28 Feb 2012 13:12:25 -0800 (PST)
Local: Tues, Feb 28 2012 4:12 pm
Subject: Re: some issues with div scroll

switch to:

overflow: scroll;
-webkit-overflow-scrolling: touch;

in your css and see how that goes. Be sure to set your header and footer to
position:fixed so they don't scroll right along with the content.

The problem you'll run into is that your app will bounce at the top and
bottom of your content, which is a dead give-away that your app isn't
native. The only way around that at the moment is to switch to iScroll or
Scrollability, etc. Unfortunately their scrolling implementation doesn't
feel 100% native, so it really depends on what you're willing to give up.
I'm using iScroll-lite to keep scrolling speeds as close to native as
possible, since there's no total solution for the bounce at the top and
bottom of content using native scrolling.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Captain Obvious  
View profile  
 More options Feb 28 2012, 4:16 pm
From: Captain Obvious <mr.happ...@gmail.com>
Date: Tue, 28 Feb 2012 16:16:58 -0500
Local: Tues, Feb 28 2012 4:16 pm
Subject: Re: [PhoneGap] some issues with div scroll

iScroll is similar to if somewhat less ancient than
http://fu2k.org/alex/css/frames/scalable/

Both have problem of small "shift" (down and right) of one or two pixles
whenever a select list or input[type='range'] receive the focus, dammit.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kerri Shotts  
View profile  
 More options Feb 28 2012, 4:22 pm
From: Kerri Shotts <kerrisho...@gmail.com>
Date: Tue, 28 Feb 2012 13:22:25 -0800 (PST)
Local: Tues, Feb 28 2012 4:22 pm
Subject: Re: [PhoneGap] some issues with div scroll

Yes, unfortunately. An irksome problem, that I have no idea how to work
around. *sigh*

Most unfortunate because I simply /can't/ use native scrolling. I've tried.
Several times. (And it's hard, because my app is quite tied into iScroll at
the moment, so I have to undo a lot of code to try...) I can get /very/
close, but never close enough. Some nutty bug always catches me in the end,
and it's back to iScroll and the twitchiness with selects and ranges.

Sigh.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jcesar  
View profile  
 More options Feb 29 2012, 2:54 am
From: jcesar <jcesarmob...@gmail.com>
Date: Tue, 28 Feb 2012 23:54:10 -0800 (PST)
Local: Wed, Feb 29 2012 2:54 am
Subject: Re: some issues with div scroll
Adam, did you test to scroll with two fingers? with overflow auto, the
native web scroll is two fingers

On Feb 28, 10:22 pm, Kerri Shotts <kerrisho...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam  
View profile  
 More options Feb 29 2012, 3:11 am
From: Adam <adam....@gmail.com>
Date: Wed, 29 Feb 2012 16:11:29 +0800
Local: Wed, Feb 29 2012 3:11 am
Subject: Re: [PhoneGap] some issues with div scroll

iScroll is the solution.

Thanks


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »