I whipped up a demo of this to make sure it worked.
http://www.commadot.com/jquery/scrollEnable.php

Interestingly, I couldn't get a onscroll event on a textarea.  Only a div.
Wierd huh?
I hope this demo helps.

Glen

On 9/17/07, spills <[EMAIL PROTECTED]> wrote:
>
>
> I was discovering the dimensions plug-in this morning and think it
> will work great.
>
> Thanks for clarifying how to broadcast the scroll event.
>
> Spills
>
>
> On Sep 17, 10:59 am, "Glen Lipka" <[EMAIL PROTECTED]> wrote:
> > Im going to take a guess.
> > Try this plugin.http://brandonaaron.net/docs/dimensions/#
> >
> > Then put a onScroll event on the box its in.
> > $("p").scroll( function() { alert("Hello"); } );
> >
> > Onscroll, report back to a function to check (with dimensions) the
> scrollTop
> > number.
> > If it's higher than X (which you define as the bottom), then enable the
> > button.
> >
> > I dont know if this is the best way.  It should work though.
> >
> > Glen
> >
> > On 9/17/07, spills <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > > I am new to jQuery and have not a clue how to trigger an event when a
> > > user gets to the end of scrollable content in a div. For example many
> > > sites have a Terms and Conditions content box that when you get to the
> > > "end" it enables "accept" yes and no radio buttons and a submit or
> > > continue button. I just need to know how get jQuery to broadcast when
> > > it reaches the end of the content.
> >
> > > Thanks
>
>

Reply via email to