문제

Im not really a jQuery buff. So i come here looking for some help.

Here is the idea. There are ten images, and ten thumbnails. When you mouse over the thumbnail it will take you to the corresponding image (My code is on jsbin http://jsbin.com/ayigew/1/edit).

What i would like to have is this over feature to be added to the green bars on the top and bottom.

The idea is that i could mouse over the top bar and it will scroll up to the next picture in the list. If i hover over the bottom green bar it will take me to the next image in the list.

Here is what i have so far http://jsbin.com/ayigew/1/edit

So instead of having to mouse over the thumbnail, you mouse over the green bar at the top or bottom to go forward and backward.

I hope you can help :)

도움이 되었습니까?

해결책

I guess you mean something like this? I did it using timers. On enter start timer. go up or down every x ms and clear the timer on mouse leave.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top