[jQuery] Re: on_mouse_over scrolling

2009-04-20 Thread Macsig

I'm trying to the hover working as a separate function (instead with
the document.ready)

so I came out with this code http://pastebin.com/me02845

and I call it through OnMouseOver="scrollbutton_down_hover()"

but nothing happens.

Am I missing something?


Thanks and have a nice day!




On Apr 20, 12:47 pm, Macsig  wrote:
> Hi,
> actually it doesn't work even if I go twice over the same button.
>
> Thanks for any help. I appreciate it
>
> On Apr 19, 3:37 pm, Macsig  wrote:
>
> > Hi Victor,
> > thanks for your reply.
>
> > now it works but there is still an issue with the code:
>
> > I can scroll down and up but after scrolling up it doesn't go down
> > anymore (and vice-versa if I scroll up and after down I can't go up
> > anymore).
> > I don't get any errors, simply it doesn't move.
>
> > Do you have any ideas about that?
>
> > Thanks and have a nice day!
>
> > On Apr 19, 5:33 am, victorg  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  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  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  wrote:
>
> > > > > > Any ideas?
>
> > > > > > Thanks and have a nice weekend
>
> > > > > > On Apr 16, 5:00 pm, macsig  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


[jQuery] Re: on_mouse_over scrolling

2009-04-20 Thread Macsig

Hi,
actually it doesn't work even if I go twice over the same button.

Thanks for any help. I appreciate it


On Apr 19, 3:37 pm, Macsig  wrote:
> Hi Victor,
> thanks for your reply.
>
> now it works but there is still an issue with the code:
>
> I can scroll down and up but after scrolling up it doesn't go down
> anymore (and vice-versa if I scroll up and after down I can't go up
> anymore).
> I don't get any errors, simply it doesn't move.
>
> Do you have any ideas about that?
>
> Thanks and have a nice day!
>
> On Apr 19, 5:33 am, victorg  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  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  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  wrote:
>
> > > > > Any ideas?
>
> > > > > Thanks and have a nice weekend
>
> > > > > On Apr 16, 5:00 pm, macsig  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


[jQuery] Re: on_mouse_over scrolling

2009-04-19 Thread Macsig

Hi Victor,
thanks for your reply.

now it works but there is still an issue with the code:

I can scroll down and up but after scrolling up it doesn't go down
anymore (and vice-versa if I scroll up and after down I can't go up
anymore).
I don't get any errors, simply it doesn't move.

Do you have any ideas about that?

Thanks and have a nice day!





On Apr 19, 5:33 am, victorg  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  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  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  wrote:
>
> > > > Any ideas?
>
> > > > Thanks and have a nice weekend
>
> > > > On Apr 16, 5:00 pm, macsig  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


[jQuery] Re: on_mouse_over scrolling

2009-04-19 Thread Macsig

Works nicely

Thanks man for your help. I appreciated it.

Have a good 1!



Sig

On Apr 19, 5:33 am, victorg  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  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  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  wrote:
>
> > > > Any ideas?
>
> > > > Thanks and have a nice weekend
>
> > > > On Apr 16, 5:00 pm, macsig  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


[jQuery] Re: on_mouse_over scrolling

2009-04-19 Thread victorg

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  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  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  wrote:
>
> > > Any ideas?
>
> > > Thanks and have a nice weekend
>
> > > On Apr 16, 5:00 pm, macsig  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


[jQuery] Re: on_mouse_over scrolling

2009-04-18 Thread Macsig

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  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  wrote:
>
> > Any ideas?
>
> > Thanks and have a nice weekend
>
> > On Apr 16, 5:00 pm, macsig  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


[jQuery] Re: on_mouse_over scrolling

2009-04-18 Thread victorg

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  wrote:
> Any ideas?
>
> Thanks and have a nice weekend
>
> On Apr 16, 5:00 pm, macsig  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


[jQuery] Re: on_mouse_over scrolling

2009-04-17 Thread Macsig

Any ideas?

Thanks and have a nice weekend

On Apr 16, 5:00 pm, macsig  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