Hi Victor and thanks for your reply.

I have wrapped up your code within a $(document).ready(function(){
but when I go over the button I get

$(el).scrollTop is not a function
[Break on this error]$(el).scrollTop(jQuery(el).scrollTop() + inc);

I'm using jQuery 1.2.3.

Am I missing something?


Thanks again and have a nice day.




On Apr 18, 4:00 am, victorg <vr.gerrit...@gmail.com> wrote:
> I think you could easily accomplish that by defining an mouseover
> handler for your button that does a setInterval() to a function that
> scrolls your container.
>
> The scrolling of your container would be accomplished by fooling
> around with the scrollTop() function.
>
> I've put together a test script:http://pastebin.com/f40bb5800
>
> Where #scroller is the div with overflow.
>
> On Apr 18, 8:40 am, Macsig <sigbac...@gmail.com> wrote:
>
> > Any ideas?
>
> > Thanks and have a nice weekend
>
> > On Apr 16, 5:00 pm, macsig <sigbac...@gmail.com> wrote:
>
> > > Hi there,
> > > I'm trying to implement a simple scrolling system: basically I have a
> > > div with a specific height and auto overflow and I want to let the div
> > > content scrolling down when the mouse is over an icon. It has to scrol
> > > until the end of the content or until the muose is moved.
>
> > > But I cannot make it working so far.
>
> > > Any idea or even better a sample to solve my issue?
>
> > > Thanks fpr any help, I appreciate it.
>
> > > Sig

Reply via email to