(English)
Subject: [jQuery] Re: Scrolling inside a div with mousemove
Ah ok,
So does that mean I need to calctulate how far up or down it can
scroll?
On Nov 7, 7:34 am, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
> Ah,
>
> This part of the code:
>
> // Use
TECTED] On
>
> Behalf Of Dan
> Sent: Thursday, November 06, 2008 8:27 PM
> To: jQuery (English)
> Subject: [jQuery] Re: Scrolling inside a div with mousemove
>
> Hi Jeffrey,
>
> Thank you for your reply, however I can't seem to get your code to
> work.
>
>
ssage-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dan
Sent: Thursday, November 06, 2008 8:27 PM
To: jQuery (English)
Subject: [jQuery] Re: Scrolling inside a div with mousemove
Hi Jeffrey,
Thank you for your reply, however I can't seem to get your code to
Hi Jeffrey,
Thank you for your reply, however I can't seem to get your code to
work.
I'm getting an error that says "setTop is not defined"
Any idea why this is?
On Nov 6, 1:15 am, "Jeffrey Kretz" <[EMAIL PROTECTED]> wrote:
> Well, you could do something like this (completely untested, sorr
Well, you could do something like this (completely untested, sorry).
The hover events bind and unbind the mousemove to prevent resource drain.
$('#thisdiv').hover(startScroll,stopScroll);
function startScroll(e)
{
var div = $(this).bind('mousemove',scrollThis);
var o = div.offset();
th
5 matches
Mail list logo