Question: There is plenty of plugins that allow to load content when the user reaches the bottom of the page, however I can't find jquery plugin that would allow you to load content when user reaches the right side of the document.

Is there a good strategy to do this ?

Is there a good plugin that does this ?

Thanks,
Peter

Answer: 
```
$('div').scroll(function (){
  var padder = 50;
  if( $(this).scrollLeft() >= $(this).scrollWidth -padder){
     //load more content as the user has scrolled 50px less than, the end, 
  }
})

```

I think something like this would do it ....
This does the job nicely:

```
//Scroll
  var padder = 150;
  $(document).live('scroll',function (){
     if($(this).scrollLeft() > padder){
    $.post("data.txt", { bla: "1", blu: "ax" },
        function(data) {
         //TODO add a check when reach the end
         padder = padder +200;
         $("#events_list").width($("#events_list").width()+200);
         $("#events_list").append(data);
        },"text");
     }
  }); 

```