Hello Brian,
I have added a div and set an attribute overflow, but I couldn't get
the on scroll functionality for the the particular div's onsroll event
I have given it like this
$('#dir-listing-inner').scroll(function(){
if(Web20.Util.isScrollBottom()){
$.ajax({
url: pname.convertURL('front/page'),
success:(function(results){
$("#results").append(results); //correct one
})
});
}
});
<div id="dir-listing-inner">
Blah blah Blah blah Blah blah
Blah blah
Blah blah
Blah blah
Blah blah
</div>
#dir-listing-inner{
width:860px;
height:440px;
overflow-x:hidden;
overflow-y:auto;
}
Can you please help me to sort it out
Thanks in advance..
cheers
On Sep 9, 8:43 pm, Brian Schilt <[EMAIL PROTECTED]> wrote:
> I provided a possible solution to this on your other
> post:http://groups.google.com/group/jquery-dev/browse_frm/thread/c96627809...
>
> Let me know if it works for you.
>
> Brian
>
> On Sep 9, 7:12 am, Jay Jay <[EMAIL PROTECTED]> wrote:
>
> > I would like to develop a pagination based on the onscroll event and
> > ajax. So I need to detect the scroll bar position, ie whether the
> > scroll bar position reached at the bottom of the scroll bar.
>
> > I need help from you guys. Thanks in advance.
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" 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/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---