Works nicely Thanks man for your help. I appreciated it.
Have a good 1! Sig On Apr 19, 5:33 am, victorg <vr.gerrit...@gmail.com> wrote: > Ah, it seems that jQuery 1.2.3 does not have that method.. > > Elements still have a scrollTop property tho, so you could try that > instead. > > Not tested, but i think it should work:http://pastebin.com/m5a3326a7 > > On Apr 19, 2:06 am, Macsig <sigbac...@gmail.com> wrote: > > > 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