As I was looking through Killers Music html5 site, I wanted to do what they did with main navigation where when mouse is over to left or right, it will scroll infinite.
I have when through their javascript file, also inspected elements and one thing was for sure, they update left css property to scroll the background images.
I am not quite sure how to do that smoothly. I know I can use setTimeout to update the left but not sure what value I have to calculate to apply.
I am going to need someone's help or if there is any tutorial for it, it would be wonderful.
Please help.
Asked
Active
Viewed 763 times
0

Linus Juhlin
- 1,175
- 10
- 31

user484312
- 13
- 3
-
Here is the web site in question: http://www.thekillersmusic.com – Mic Jun 14 '11 at 22:23
1 Answers
1
It uses the jQuery easing plugin.
Some demo are available here: http://jqueryui.com/demos/effect/easing.html

Mic
- 24,812
- 9
- 57
- 70