Skip to main content

Bug Tracker

Side navigation

#3193 closed bug (invalid)

Opened July 28, 2008 02:15PM UTC

Closed June 23, 2010 03:24AM UTC

Issue using animate

Reported by: Binary Owned by:
Priority: minor Milestone: 1.3
Component: effects Version: 1.2.6
Keywords: animate scrollleft Cc: Binary, flesler
Blocked by: Blocking:

Scenario: creating a horizontally scrolling image area with buttons to do left/right scrolling.

Here's the section of code that does the animation:

if(direction == "left"){

$(scrollerDiv).animate({'scrollLeft': -scrollerWrapperDiv._thumbWidth + 'px' }, 'slow', '' , _PV_ScrollImageGalleryUpdateScrollButtons);

} else {

$(scrollerDiv).animate({'scrollLeft': scrollerWrapperDiv._thumbWidth + 'px' }, 'medium', '' , _PV_ScrollImageGalleryUpdateScrollButtons);


If you look at the code, you'll notice that I've had to set the scroll left to 'slow' and the scroll right to 'medium'. This is necessary to make the scrolling work at the same speed! If both calls are set to medium, the left scrolling works faster than the right scrolling.

I'm not sure why this is, but possibly a bug somewhere?

Attachments (0)
Change History (3)

Changed July 28, 2008 02:28PM UTC by flesler comment:1

component: corefx
need: ReviewTest Case

Probably not.

Could you provide a test case ? a minimalistic html file with the requires html and js to reproduce the problem.

Changed August 10, 2008 04:13AM UTC by flesler comment:2

cc: → Binary, flesler

Changed June 23, 2010 03:24AM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed

No test case.