Randy,

Found this... not sure if it will help:

http://www.webdeveloper.com/forum/archive/index.php/t-43785.html

-=Ryan

On Jul 30, 3:46 pm, Randy Walker <[EMAIL PROTECTED]> wrote:
> I mean a div that is 334px high containing content that may be thousands of
> pixels high.  Ie. A list. overflow:auto would keep the div at the exact
> height, then I want to be able to use scrollto, or something similar, to
> scroll that content.  Looking for a replacement to two-finger scrolling.
> There are no scrollbars anyway in iPhone?  Not talking about sliding a div
> in/out of the viewport.  Talking about scrolling the contents of an existing
> div, without moving the div.  Hope that makes sense.
>
> -=R
>
> On 7/30/07 12:18 PM, "Yehuda Katz" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Use IDs ;)
>
> > Also, you don't really need an overflow div, as there are no scrollbars to
> > look nasty, and hiding elements outside of the viewport makes scrolling
> > impossible. You simply show the element you want for animations ;)
>
> > -- Yehuda
>
> > On 7/30/07, Randy Walker <[EMAIL PROTECTED]> wrote:
>
> >> I was thinking along the same lines all day yesterday!  How would one use
> >> scrollto, or something like it, to scroll content in an overflow div?
> >> Ie.now that I have the alphabet in place, how would I cause a tap on the
> >> alphabet to scroll the overflowed div to the right letter?  I don't want to
> >> use anchors since they seem to always cause the address bar to drop down 
> >> for
> >> a minute and then disappear again.  Blech!
>
> >> On 7/30/07 3:02 AM, "Yehuda Katz" <[EMAIL PROTECTED]> wrote:
>
> >>> > Hey guys,
>
> >>> > I had something of a breakthrough this evening that will make page
> >>> > transitions super-smooth.
>
> >>> > I was playing with Firebug on iphone, looking through all the various
> >>> > properties available (and I believe strongly that there are some
> >>> > unexplored avenues) when it hit me. Instead of trying to move elements
> >>> > around the page, why not try scrolling the viewport itself.
>
> >>> > We already know that scrollTo works just fine, so I tried to see how
> >>> > many scrollTo's I could make happen using a simple setTimeout. I was
> >>> > amazed. I was able to get super-smooth page transitions using
> >>> > scrollTo. I told Joe about this finding, and he was able to duplicate
> >>> > it for use in iUI.
>
> >>> > Good luck folks! I'm excited,
>
> >>> > -- Yehuda Katz- Hide quoted text -
>
> - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to