They are more that enough, I guess.

maxVerticalScrollHeight = element.getScrollHeight() - 
element.getClientHeight()

then

if (element.getScrollTop() == maxVerticalScrollHeight)
  // bottom reached

That's the same idea behid ScrollPanel and the like.

On Tuesday, November 27, 2012 10:35:45 AM UTC+1, Alp Yilancioglu wrote:
>
> Hello;
>  
> how can i make the main page ( the page only uses the HTML Scroll Bar  
> (navigators scroll bar) )
> auto load more results when the page hits the bottom. (like in ios apps ) 
>  
> unfortunetly i can only get the Scroll Top and ClientHeight and 
> OffSetHeight .. these are not enough values for detecting page the bottom 
> hit ?
>  
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/boAqZIvlTLkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to