Bug Tracker

Opened 15 years ago

Closed 13 years ago

#3193 closed bug (invalid)

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:

Description

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?

Change History (3)

comment:1 Changed 15 years ago by flesler

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.

comment:2 Changed 15 years ago by flesler

Cc: Binary flesler added

comment:3 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

No test case.

Note: See TracTickets for help on using tickets.