all this is done in flash. you can achieve this in javascript (specifically with css), but there is no direct method for this. Even in a flash, this was not done by the direct method. It took some effort to synchronize the movements of the timeline and the path of events. start by developing a custom scrollbar using javascript and css, and then create the rest.
source share